Skip to content

Latest commit

 

History

History
25 lines (22 loc) · 1.02 KB

README.md

File metadata and controls

25 lines (22 loc) · 1.02 KB

Abandon

It is a program for a programming language named Abandon.

I believe all Chinese English learners can spell it. So I named it Abandon, but that doesn’t mean I intend to abandon the project.

This project is WIP. You can see more about it here. It was written by Chinese.

Compile this project

If you have makefile in your computer, you can run:

make

or, you can run:

g++ src/main.cc src/CmdLineParser/CmdLineParser.cc src/debug/debug.cc src/FileManagerFileManager.cc src/Lexer/signToken.cc src/Lexer/Lexer.cc src/Parser/Parser.cc src/Parser/utils.cc src/Parser/if_else.cc src/Parser/function.cc src/Parser/loop.cc src/Parser/unit.cc src/PointerManager/PointerManager.cc src/SayError/SayError.cc src/SymbolTable/SymbolTable.cc src/Token/Token.cc src/Tree/Tree.cc -o abandon -std=c++11 -g

Run this project

./abandon your_code.abn

There is a test file ./hello.abn. You can try it.

File

src/ is the source code.
doc/ is the document.