词法分析和 ast
用法:
constcompiler=require('compiler')constinput="eval { head { 1 2 3 4} }"constast=compiler.compiler(input)// 或者constast=compiler.loadfile("hello.lsp")更具体见test.js
| Name | Name | Last commit date | ||
|---|---|---|---|---|
词法分析和 ast
用法:
constcompiler=require('compiler')constinput="eval { head { 1 2 3 4} }"constast=compiler.compiler(input)// 或者constast=compiler.loadfile("hello.lsp")更具体见test.js