Parser Generator
Go to file
Eric-Paul Ickhorn b058cbe288 Implemented an arena allocator 2023-11-28 21:25:20 +01:00
checks Fixed a bug with compiling more than one check and added another check 2023-11-28 15:35:19 +01:00
code Implemented an arena allocator 2023-11-28 21:25:20 +01:00
samples Added a sample for the AST 2023-11-28 16:02:17 +01:00
.gitignore Added Visual Studio Code-folder to .gitignore 2023-11-28 18:08:44 +01:00
README.md Fixed a typo where an l was a 1 2023-11-28 19:02:28 +01:00
build.bash Fixed a bug with compiling more than one check and added another check 2023-11-28 15:35:19 +01:00

README.md

Parcel

Parcel is a (currently experimental) parser generator.

Building

Parcel has very few dependencies. Below, there's a list of those dependencies that Parcel has:

  • gcc (no other compiler is supported)
  • binutils (ar, ld, ...)
  • bash
  • The Usual (a libc, the system headers, ...)

To build Parcel, navigate to the repository's root directory and type the command below. It will perform all compiler calls and create the code archive at .build/libparcel.a .

./build.bash release

Debug Builds

For development, there are two other important commands, the first of which being for compiling the library with debug information.

./build.bash debug

The second command builds the manual checks which are located in the sub-folder checks/.

./build.bash checks