- 11 Nov, 2015 3 commits
-
-
POTTIER Francois authored
Some constraints were missing, some constraints were too coarse. Also, switched to using [FixSolver] instead of a home-made system.
-
POTTIER Francois authored
-
POTTIER Francois authored
-
- 05 Nov, 2015 1 commit
-
-
POTTIER Francois authored
that is, before %inlining.
-
- 04 Nov, 2015 5 commits
-
-
POTTIER Francois authored
-
POTTIER Francois authored
Only in internal form, for now -- does not exist in concrete syntax. Not yet supported by the back-ends.
-
POTTIER Francois authored
Updated the code back-end to produce the same positions as ocamlyacc and the table back-end, in principle. This involves: 1- moving the [endp] field (when it exists) to offset 1 in every stack cell, so it can be found when reducing an epsilon production; 2- creating a sentinel cell with an [endp] field at offset 1; 3- changing the code for epsilon productions to read the [endp] field in the top stack cell.
-
POTTIER Francois authored
-
POTTIER Francois authored
-
- 22 Sep, 2015 1 commit
-
-
POTTIER Francois authored
-
- 04 Jan, 2015 1 commit
-
-
POTTIER Francois authored
This should fix an old bug where the user prelude could hide [Error].
-
- 01 Jan, 2015 2 commits
-
-
POTTIER Francois authored
Renamed to [listif] and [elementif].
-
POTTIER Francois authored
defined at different places in the generated file (in order to avoid name clashes, and for clarity).
-
- 27 Dec, 2014 1 commit
-
-
POTTIER Francois authored
['a lr1state -> 'a symbol] and maps a state (an abstract datum) to (a code for) its incoming symbol. This allows inspecting the semantic values stored in the stack. Updated the demo [calc-incremental] to display the contents of the stack at every token. It seems to work!
-
- 26 Dec, 2014 3 commits
-
-
POTTIER Francois authored
more general and correct (the old code could change a set of nonrecursive type definitions into a set of recursive type definitions).
-
POTTIER Francois authored
[IL.structure]. This makes the IL more reasonable and flexible. In principle, the generated code is unchanged.
-
POTTIER Francois authored
to insert comments a posteriori. Now done a priori where appropriate.
-
- 18 Dec, 2014 1 commit
-
-
POTTIER Francois authored
the type [terminal], which is a GADT. Produced only in [--table] mode. The flags [--only-tokens] and [--external-tokens] are respected.
-
- 16 Dec, 2014 2 commits
-
-
POTTIER Francois authored
This removes the dependency of [Interface] on [PreFront].
-
POTTIER Francois authored
Explicitly parameterize [TokenType] over a grammar. This removes the dependency of [TokenType] on [PreFront].
-
- 12 Dec, 2014 4 commits
-
-
POTTIER Francois authored
by reading the positions from the lexbuf just in time. No speed difference, but this should imply less frequent minor collections.
-
POTTIER Francois authored
the environment record instead of updating it. This makes the code back-end TWICE FASTER.
-
POTTIER Francois authored
-
POTTIER Francois authored
function is no longer required. This does not change the generated code, but simplifies things slightly and reduces the generation time (less work for the inliner).
-
- 11 Dec, 2014 4 commits
-
-
POTTIER Francois authored
-
POTTIER Francois authored
to a Boolean field [env.error]. This yields slightly simpler code and a small speed increase (maybe 5%).
-
POTTIER Francois authored
in the special case where the language is empty or {epsilon} is now fixed.
-
POTTIER Francois authored
-
- 06 Dec, 2014 1 commit
-
-
POTTIER Francois authored
The first token is now read during the first call to [run]. This exchanges the order of the first two messages in the trace, but is actually more regular. In the code back-end, this fixes a "bug" in the case where the grammar accepts only the empty word. In the table back-end, the bug is not yet fixed.
-
- 04 Dec, 2014 1 commit
-
-
POTTIER Francois authored
-
- 03 Dec, 2014 1 commit
-
-
POTTIER Francois authored
A lot of cosmetic changes in order to avoid warnings (mostly unused variables).
-
- 02 Dec, 2014 2 commits
-
-
POTTIER Francois authored
-
POTTIER Francois authored
-
- 01 Mar, 2013 1 commit
-
-
fpottier authored
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/menhir@320 0f8b5475-4b4e-0410-85a8-ee3154a6bfe7
-