finished let forms
Signed-off-by: Ava Hahn <ava@aidanis.online>
This commit is contained in:
parent
131008c3a2
commit
c1d83a6285
5 changed files with 198 additions and 27 deletions
43
Readme.org
43
Readme.org
|
|
@ -20,21 +20,18 @@ https://gitlab.com/whom/shs
|
|||
https://matrix.to/#/#vomitorium:matrix.sunnypup.io
|
||||
|
||||
* How to use
|
||||
** Syntax
|
||||
*** Basic data types
|
||||
TODO
|
||||
*** S-Expressions
|
||||
TODO
|
||||
**** calling a function
|
||||
TODO
|
||||
*** Control flow
|
||||
TODO
|
||||
*** Defining variables and functions
|
||||
TODO
|
||||
**** Undefining variables and functions
|
||||
TODO
|
||||
*** Builtin functions
|
||||
TODO
|
||||
** TODO Syntax
|
||||
*** TODO Basic data types
|
||||
*** TODO S-Expressions
|
||||
**** TODO calling a function
|
||||
*** TODO Control flow
|
||||
**** TODO if
|
||||
**** TODO while
|
||||
**** TODO let
|
||||
**** TODO circuit
|
||||
*** TODO Defining variables and functions
|
||||
**** TODO Undefining variables and functions
|
||||
*** TODO Builtin functions
|
||||
|
||||
** Configuration
|
||||
By default Relish will read from ~/.relishrc for configuration, but the default shell will also accept a filename from the RELISH_CFG_FILE environment variable.
|
||||
|
|
@ -58,6 +55,8 @@ Errors during configuration are non-terminal. In such a case any defaults which
|
|||
- CFG_RELISH_PROMPT (default (echo "λ ")): A *function* definition which is called in order to output the prompt for each loop of the REPL.
|
||||
This function will be reloaded each REPL loop and will be called by the interpreter with no arguments.
|
||||
|
||||
** TODO Further configuration
|
||||
|
||||
** Compilation
|
||||
#+BEGIN_SRC sh
|
||||
cargo build
|
||||
|
|
@ -128,7 +127,7 @@ This contains any executable target of this project. Notably the main shell file
|
|||
Note: this section will not show the status of each item unless you are viewing it with a proper orgmode viewer
|
||||
*** TODO Rudimentary Control Flow
|
||||
**** DONE if clause
|
||||
**** TODO loop clause
|
||||
**** TODO let clause
|
||||
**** TODO while clause
|
||||
**** TODO circuit clause
|
||||
*** TODO Help function
|
||||
|
|
@ -150,13 +149,18 @@ Will need a concatenate function for tables
|
|||
**** TODO head (returns (head rest))
|
||||
**** TODO tail (returns (rest tail))
|
||||
**** TODO queue (append to front)
|
||||
**** TODO snippet for dequeue
|
||||
**** TODO snippet for pop
|
||||
*** TODO boolean operations
|
||||
**** TODO and
|
||||
**** TODO and (circuit)
|
||||
**** TODO or
|
||||
**** TODO xor
|
||||
**** TODO not
|
||||
**** TODO no
|
||||
**** TODO eq?
|
||||
**** TODO toggle
|
||||
*** TODO string operations
|
||||
**** TODO contains
|
||||
**** TODO len
|
||||
**** TODO concat
|
||||
**** TODO substr by index
|
||||
**** TODO split (on delimiter)
|
||||
|
|
@ -171,6 +175,9 @@ Will need a concatenate function for tables
|
|||
**** TODO inc
|
||||
**** TODO dec
|
||||
**** TODO int (float to int)
|
||||
**** TODO gt?
|
||||
**** TODO lt?
|
||||
**** TODO snippets for gte and lte
|
||||
*** TODO file operations
|
||||
**** TODO read-to-string
|
||||
**** TODO write-to-file
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue