Skip to content

Simple S-expression based programming language.

License

Notifications You must be signed in to change notification settings

HatsuSixty/loisp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Loisp

Low Level Lisp (Loisp) is an S-expression based programming language implemented in Rust.

Quick Start

To compile the generated assembly, the compiler uses the flat assembler, so you will need to have it installed:

$ echo "(print (+ 34 35))" > test.loisp
$ cargo run -- run test.loisp

Testing

The compiler has a tester built-in to it, so you can use that to test if all the features are working properly. To use the built-in tester, there is a subcommand to use it:

$ cargo run -- run-test tests # for more details, see `cargo run -- help`

This language is planned to be

  • Compiled
  • Native
  • Useful (that basically means that the language has enough features to create useful applications)
  • Turing Complete (see ./examples/rule110.loisp)
  • Interpreted
  • Interactive (by implementing a REPL)
  • Type Checked
  • Cross-Platform (maybe in the future when i get a better computer)

Documentation

To read the documentation, see docs.md.

Releases

No releases published

Packages

No packages published