Skip to content

Repository files navigation

pseudocode-compiler

Getting Started

git clone https://github.com/rooftopsparrow/java-pseudocode-compiler.git
cd java-pseudocode-compiler
make deps
make
chmod +x getToken

To run tests:

make test

getToken

getToken parses string input and tokenizes into segments with seperate values.

CLI usage:

 getToken -- pseudocode-compiler
Retrieve token values and codes
Usage: getToken [options]
Options:
-h, --help Display this help
-f, --file <file> Read tokens from <file>
-i, --interactive REPL for trying tokens
-j, --json JSON output
Examples:
getToken < token.dat
-- Read from stdin
getToken -f token.dat
-- Read from file
echo 29.45 | getToken --json
-- Output JSON

About

Take pseudo-code and compile to another language (Java flavor)

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages