Skip to content

Commit

Permalink
NitCC bootstrap #2844
Browse files Browse the repository at this point in the history
Use a more traditional bootstrap approach with a full features autonomous nitcc in `bootstrap/`.
Therefore, it is easier to extends or break internal parts of `nitcc` since nothing is shared with the bootstrapper.

A cleanup of the Makefiles and the generated files is also performed
  • Loading branch information
privat authored Jul 23, 2024
2 parents 1b0e342 + 294caf5 commit 14af05b
Show file tree
Hide file tree
Showing 35 changed files with 13,689 additions and 622 deletions.
1 change: 1 addition & 0 deletions contrib/nitcc/.gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
*.dot
*_parser.nit
*_lexer.nit
*_nodes.nit
*_test_parser
*.out
tests/alt
Expand Down
11 changes: 11 additions & 0 deletions contrib/nitcc/bootstrap/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
NITC=../../../bin/nitc

all: nitcc

nitcc:
$(NITC) nitcc.nit

clean:
rm \
*.dot *.out *_test_parser \
2>/dev/null || true
Loading

0 comments on commit 14af05b

Please sign in to comment.