Zen

所属分类:特征抽取
开发工具:GO
文件大小:0KB
下载次数:0
上传日期:2023-12-28 04:54:00
上 传 者sh-1993
说明:  我的Zen编程语言的记号赋予器(现在)-用Go编写
(A tokenizer (for now) for my Zen Programming Language - written in Go)

# Zen Interpreter A simple, for-fun language, with a simple syntax (hence the name)! ```javascript fn main() { log("Hello World!") } ``` ## Progress 1. Tokenizer 2. Lexer 3. REPL (incredibly simple implementation) 4. Parser 5. Semantic Analyzer 6. IR 7. Assembler :: will use [NASM Assembler](https://www.nasm.us/) 8. Linker :: will use [LD](https://ftp.gnu.org/old-gnu/Manuals/ld-2.9.1/html_mono/ld.html) ## To run A REPL that can only handle one line of code: ```bash go run main.go ``` Type `exit` to leave the repl To run against a file: ``` go run main.go -f hello_world.zen ``` Once again, so far can only tokenize.

近期下载者

相关文件


收藏者