Skip to content

Commit c5b8ab5

Browse files
committed
switches to dune and menhir
Since we have a circular dependency between lexer and parser the only solution was to switch to menhir as it allows to split the grammar into several modules and, in particular, to factor out tokens. The switch required us to change the grammar definition as menhir is treating the end of stream conflicts a little bit differently. The introduced change might have unexpected consequences, though so we need to add tests to make sure that everything still works more or less as expected (we actually don't even know what to expect from this parser). Also, the indentation used in this code was pretty arbitrary so that we had to rectify it a little bit to make code comprehensible. This resulted in a huge diff.
1 parent a313b21 commit c5b8ab5

37 files changed

+2047
-2644
lines changed

.cvsignore

Lines changed: 0 additions & 6 deletions
This file was deleted.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,4 @@ calipso/calipso_stat
2020
ctoxml/ctoxml
2121
printc/printc
2222
*.cmxs
23+
\.merlin

ChangeLog

Lines changed: 0 additions & 29 deletions
This file was deleted.

FrontC.opam

Whitespace-only changes.

INSTALL

Lines changed: 0 additions & 14 deletions
This file was deleted.

META

Lines changed: 0 additions & 7 deletions
This file was deleted.

Makefile

Lines changed: 0 additions & 14 deletions
This file was deleted.

Makefile.head

Lines changed: 0 additions & 208 deletions
This file was deleted.

Makefile.tail

Lines changed: 0 additions & 106 deletions
This file was deleted.

NEWS

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)