diff --git a/Readme.md b/Readme.md index 91698c7..937f7d6 100644 --- a/Readme.md +++ b/Readme.md @@ -5,19 +5,22 @@ Rusty Expressive LIsp SHell Relish is a language meant to iterate on the ideas and designs that were tested with [SHS](https://gitlab.com/whom/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 +- Core functionality (lexing, parsing, evaluation, function and variable tables) is complete and tested +- A primitive REPL is complete + +### Pre-alpha release tasks +- Rudimentary control flow (if, loop, let) +- Variable declaration and environment integration +- Function declaration +- Shell module including foreground process, background process, and environment variable +- Stdlib including string operations, arithmetic operations, and file operations +- TESTS TESTS TESTS ## Compilation `$ cargo build` ## Testing `$ cargo test` + +## Running +`$ cargo run src/bin/main.rs` diff --git a/src/str.rs b/src/str.rs index 64c43c9..ef278fd 100644 --- a/src/str.rs +++ b/src/str.rs @@ -41,7 +41,7 @@ pub fn get_echo() -> Function { Ctr::Seg(c) => string.push_str(ast_as_string(c.clone(), true).as_str()), Ctr::None => () } - string.push_str(" "); + string.push_str("\n"); return true; }) { // TODO: use custom logger