Skip to content

joacand/Lexpars

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lexpars

Lexpars is a lexer and parser for a small language made without the use of any external tools.

Lexical analysis and parsing is all done "by hand", using only the standard C++ libraries.

The motivation for the project is mainly educational, to gain more experience using C++ and learn more about how the front-end of a compiler works.

Features

Basic statements and expression have been implemented.

Todo

  • Extend the lexer and parser with more statements and expressions

Future work

Future work may include extending the project to a full compiler, with type checking and code generation.

About

A homemade lexer and parser for a small language using no tools.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published