Skip to content

jvbronzeado/BasicCompiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BasicCompiler

Simple compiler I made for learning more about compilers in general. It compiles a language similar to BASIC to C

Made following Austin Henley's "Let's make a Teeny Tiny compiler"

I added some of my own twist and extra stuff, like for loops

Build

This project uses CMake as a build tool:

mkdir build
cd build
cmake ..
cmake --build .

Usage

To compile a file just pass it's directory into the command arguments:

BasicCompiler test.txt

It is also possible to set a output directory:

BasicCompiler test.txt -o output/

After the file is compiled you can use your preferred C compiler and build the executable

About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors