I was playing with a syntax called Cirru which is like Lisp but with far less parentheses in JavaScript. https://github.com/Cirru And I got CirruScript which compiles to ES6 AST and then generates JavaScript in ES5. https://github.com/Cirru/cirru-script Later I think it's fun to have my toy language running on top of LLVM, and tried a few ideas. And here's my current project called CirruSepal.jl which transforms my code to Julia AST. the parser: https://github.com/Cirru/CirruParser.jl the prototype: https://github.com/Cirru/CirruSepal.jl
For example, I got a file of Cirru like this: ```cirru = a :demo call println a call println (tuple 1) call println (cell1d 1) call println (call symbol a) call println true false ``` I'm going to parse it into an Array with CirruParser.jl, then generates Julia AST with CirruSepal.jl using the metaprogramming skills from Julia. I just think it might be quite interesting that I can run a interpreter in Julia, or something like an alternative syntax for Julia(a inconvenient one though). Just want to see if anyone is interested on such a syntax for writing Julia AST? And I got some confusions in understanding the AST of function definitions. Is there any docs or source code that I can get help from? Thanks.
