Skip to content

rmfleet/protolang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Protolang

This was a quick experiment in writing a crude programming language lexer, parser and AST (abstract syntax tree) in Golang. It was never intended to be functional, but instead created as a prototype to understand in practice how high level source code is parsed into machine code. To accelerate the output, I used LLVM IR to generate assembly which is then compiled into executable code using clang.

Beyond basic syntax, arithmetic operations and order of operations, it does not do much.

About

An experiment in source code parsing, lexer tokenizing, and abstract syntax trees

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published