Commit Graph

7 Commits

Author SHA1 Message Date
Aryadev Chavali
423f34ba45 Added Make recipes for examples 2024-12-03 04:31:40 +00:00
Aryadev Chavali
959b1f8b2c Clean all asm files as well 2024-12-03 04:23:15 +00:00
Aryadev Chavali
0f0862245f Build two executables: obi and obc
The names stand for Oreo's Brainfuck Interpreter and Oreo's Brainfuck
Compiler, separate tasks that shouldn't be packaged in one executable.
2024-12-03 03:40:41 +00:00
Aryadev Chavali
9fcd22a03b Simplify build system
RELEASE and DEBUG builds have differing build flags, triggered by
setting RELEASE variable.  No longer doing object based compilation
because:
+ gcc is fast enough without it
+ stale code compilation bugs are annoying
+ having one output binary to clean-up is just easier when switching
build-types
2024-12-03 03:17:44 +00:00
Aryadev Chavali
e5cba43a0e New module for parser functions
Same principle as main->lib (previous commit).
2023-09-02 16:14:49 +01:00
Aryadev Chavali
c9b6b04d19 New module for functions I no longer need to work on
lib.(h|c) basically has structures and functions I no longer want to
stare at in main.c
2023-09-02 16:14:43 +01:00
Aryadev Chavali
2d33640c03 INIT
Simple parser, took like an hour.

Not very smart but at least it's like O(n).
2023-09-02 15:21:56 +01:00