tree-traversing LISP interpreter geared toward embeddability and system scripting
Find a file
2021-06-05 01:14:38 -07:00
src simplify func return type, complete eval and process logic 2021-06-05 01:14:38 -07:00
tests simplify func return type, complete eval and process logic 2021-06-05 01:14:38 -07:00
.gitignore - syntax tree datatypes 2021-01-24 12:34:58 -08:00
Cargo.lock - syntax tree datatypes 2021-01-24 12:34:58 -08:00
Cargo.toml - syntax tree datatypes 2021-01-24 12:34:58 -08:00
LICENSE.md - syntax tree datatypes 2021-01-24 12:34:58 -08:00
Readme.md explanatory readme 2021-05-31 22:04:33 -07:00

Relish

Rusty Expressive LIsp SHell

Goals

Relish is a language meant to iterate on the ideas and designs that were tested with SHS. Relish acts as both as a high level scripting language and as a system shell. This language is meant to be practical for administrators and power users. Similar technologies include Python, Bash, and Racket.

Current Status

Current master contains the datatypes and type system used by the language interpreter, as well as Lexing and Parsing routines. "Segments" (cons cells) are used for the abstract syntax tree. Tables are used for variable and function declarations. An evaluation routine is nearly complete. Tests are included for the Lexing and Parsing process and the function call routine. With the completion (and subsequent testing) of the evalution routine two more objectives will need to be completed:

  • Shell interfzce that manages configurations and orchestrates a shell prompt
  • Stdlib that implements the following functionality
    • POSIX compliant shell with job control
    • String manipulation
    • File read/write functionality
    • arithmetic operations
    • control flow
    • boolean comparisons and operations
    • environment variable access

Compilation

$ cargo build

Testing

$ cargo test