Switch to cmake and fetch nlohmann::json
This will be used to dynamically set a label table
This commit is contained in:
@@ -2,11 +2,18 @@
|
||||
|
||||
An implementation of a hack assembler in C++.
|
||||
|
||||
## Compilation
|
||||
|
||||
```bash
|
||||
cmake -S . -B build
|
||||
cmake --build build
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```bash
|
||||
g++ -o hack-assembler main.cpp
|
||||
cat <input_file.asm> | ./hack-assembler > <output_file.hack>
|
||||
cat <input_file.asm> | ./hack-assembler > ./out/<output_file.hack>
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
Reference in New Issue
Block a user