Remove stuff
Preparing for a very simple parser.
This commit is contained in:
parent
f42aec4132
commit
fafb58adfa
7 changed files with 49 additions and 152 deletions
|
|
@ -1,4 +1,21 @@
|
|||
// Possible future built-ins
|
||||
//
|
||||
// #get - Get table's value at a key/path
|
||||
// #set - Set table's value at a key/path
|
||||
// #raw - Interpret values literally (either recursively or only one layer)
|
||||
// #path - Construct a path from a table
|
||||
// #scope - Execute a command in a new sub-scope
|
||||
// #loop - Repeat a command infinitely
|
||||
// #break - Break out of an infinite loop (with a value?)
|
||||
// #if - Conditionally execute one of two commands
|
||||
// #print - Print a string to stdout
|
||||
// #input - Read a line from stdin
|
||||
// #read - Load the contents of a file as string
|
||||
// #write - Store a string into a file
|
||||
// Arithmetic: #add #sub #neg #shiftr #shiftl
|
||||
// Booleans: #and #or #not #xor #andb #orb #notb #xorb
|
||||
// Comparisons: #eq #neq #lt #le #gt #ge
|
||||
|
||||
/// Built-in operations
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
|
||||
pub enum Builtin {
|
||||
Print,
|
||||
}
|
||||
pub enum Builtin {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue