L++ 0.2: Macros are supported via Racket's macro system define-syntax.bitbucket.org1 points·by ktg·12 lat temu·1 comments
ktg·8 lat temu·discussHand-crafted parser:Building LISP: http://www.lwh.jp/lisp/index.html- Parser: http://www.lwh.jp/lisp/parser.htmlFull source: https://github.com/kimtg/ToyLisp
ktg·11 lat temu·discussLispScript | https://bitbucket.org/ktg/lispscriptTry LispScript | http://ktg.bitbucket.org/lispscript/lispscript.html
ktg·11 lat temu·discussIn for, in-range is faster.http://docs.racket-lang.org/reference/sequences.html?q=in-ra...An in-range application can provide better performance for number iteration when it appears directly in a for clause. -> (for ([i (in-range 1 16)]) (match (list (modulo i 3) (modulo i 5)) [(list 0 0) (displayln "fizzbuzz")] [(list 0 _) (displayln "fizz")] [(list _ 0) (displayln "buzz")] [_ (displayln i)]))
ktg·12 lat temu·discussL++ is a programming language that transcompiles to C++. It uses Lisp-like syntax. Macros are supported via Racket's macro system define-syntax, define-syntax-rule and defmacro.L++ | https://bitbucket.org/ktg/l
ktg·12 lat temu·discussL++ website | https://bitbucket.org/ktg/lPrevious post (not by me) | https://news.ycombinator.com/item?id=7711755
ktg·12 lat temu·discussLinksParen | https://bitbucket.org/ktg/parenParenJ | https://bitbucket.org/ktg/parenjParen# | https://bitbucket.org/ktg/parensharp
ktg·12 lat temu·discussJavascript is a pretty cool programming language heavily influenced by Scheme. -> I couldn't agree with you more.There is a Lisp-to-JS compiler (ParenJS). https://bitbucket.org/ktg/parenjs
Building LISP: http://www.lwh.jp/lisp/index.html
- Parser: http://www.lwh.jp/lisp/parser.html
Full source: https://github.com/kimtg/ToyLisp