rum
rum copied to clipboard
Functional language, easily extensible and possible (Lua features with LISP dialect and functional) to be embarked on software Go!
Add testable examples of use rum as package https://blog.golang.org/examples
There is a bug in `lexer` that when creating a comma float array it crash return (go bracktrace) ``` >>> (print array(1,3)) panic: strconv.ParseFloat: parsing "1,3": invalid syntax goroutine 43...
http://codemirror.net/ https://codemirror.net/3/mode/commonlisp/index.html
I'm forcing a case that should generate panic, we must treat the not return Go traceback. Input: ``` (*int64 1.0 2.0) ``` Output: ``` >> (*int64 1.0 2.0) Err: runtime...
Input: ``` (+ 1 2) (print "test") ``` Output: ``` >> (+ 1 2) (print "test") Err: 1 parsing errors: obtained more than one node: [("+" 1 2) ("print" "test")]...
Input: ``` (print "test") ``` Output: ``` >> (print "test") -> ``` Server log ``` 2018/02/08 19:37:11 Reusing session 87e65a39-8443-4271-8fe3-a5b251ca9407 2018/02/08 19:37:23 currentForm = {map[run:0x6cbcf0 clean:0x6cc1a0]} msgs = [run] test...
``` › go run main.go >>> (def f () ((print "first") (print "sec"))) 0x1109860 >>> (f) first sec runtime error: Panic[0] - reflect: call of reflect.Value.Call on zero Value #...
documentation on code
Package system that will be distributed along with the language but controlled outside the runtime ex: ``` github.com/rumlang/time github.com/rumlang/math github.com/rumlang/debug ``` So you can remove packages if you want to...
Rum need of some tool (like [rustup](https://www.rustup.rs/)). - Download source code or binary - Download deps (stdlib of Rum is like Go packages)