You can install Speech from npm using the command
npm install speechylang or
npm install speechylang -g
You also have to have node.js installed first
You can start the REPL by using the command
speechy and run speechy files using
speechy run path/to/file/example.spy
(Keep in mind that speechy files use the .spy extension).
The syntax is super simple.
Speechy uses a prefix based LISP style syntax in the following manner:
(add 2 3 (multiply 4 5))
This code will multiple 4 and 5 and add the result of that operation (20) to 2 and 3, ultimately evaluating to 25.
Speechy also supports defining variables using the keyword "let".
(let x 2)
The Speechy standard library is incredibly small at the moment and consist of the following functions.
(add 2 3 4)
(subtract 2 3 4)
(multiple 2 3 4)
(modulo 2 10)
(log "hello, world!")
(max 2 3 4)
min(2 3 4)
(percentage 5 100)
Contact me at firstname.lastname@example.org or file an issue if you notice anything wrong.