太极语言
一门新的编程语言,编译成javascript, 运行于node.js环境,支持元语言(lisp风格的宏是元语言的特例),动态语法。
示例代码:
// #1+2 and #3+4 is evaluated in compiling time: if 1 then #1+2 else #3+4 // the condition of "if" statemeng is evaluated in compiling time // when the condition is true, "then" clause is compiled, else "else" clause is compiled. // this is similar to the #if in C language. # if 1 then 1+2 else 3+4 // different from the above sample, the whole "if" statement below is evaluated in the compiling time ## if 1 then 1+2 else 3+4
评论