Skip to content

loserzhu/craft_a_language

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

learning craft a language.

动手实现一个简单的 ts compiler & interpreter(1 -4,基于 ast 解释器)

ch1: a super tiny compiler(parse a sequence of tokens into AST and run it).

ch2: a super tiny compiler(implement tokenizer)

ch3: a super tiny compiler(support variable declare & types, implement symbol table to gather necessary semantic information)

ch4: a super tiny compiler(support block scope,if,for,return statement)

ch5: a super tiny compiler(typescript VM based on bytecode)

About

learning how compiler, interpreter & vm works

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages