| Age | Commit message (Collapse) | Author |
|
will be reflected in short hand type syntax, inc is still the default if undeclared
So:
default order dec
register bit[32] t (* Declares t as a decreasing vector, starting at 31 on the left and decreasing to 0 *)
default order inc
register bit[32] o (* Declares o as an increasing vector, starting at 0 on the left and increasing to 31 *)
It is presently possible to change the default mid-file; this is almost certainly bad and I will turn it into an error soon.
|
|
interpreter.
An alias can be read within the interpreter, but not written to. Exits aren't yet taken in the interpreter.
|
|
Used by the Power XML extraction tool.
|
|
This is necessary to avoid a parse error. It might make sense to merge
this list and the one in type_internal.ml somehow, to avoid duplication
and similar bugs in the future.
|
|
from 0 to 32 etc, doesn't change order yet.).
|
|
|
|
ast, and extending the interpreter to expect annotations.
Annotations and locations are still not used by the interpreter.
|
|
(in limited circumstances at the moment due to which expressions are actually checked, so test files should not yet be changed)
|
|
definition environment. Skipping function definition, let bind, and expression checking for this commit (to come).
|
|
|
|
|
|
Tests compile and run properly. There is a lot of hackery going
on to workaround the rough edges of new Lem. Use at your own
risk (you need the "library-format" branch of lem).
|
|
|
|
and rules for lem ast generation; created a new directory for the lem interpreter and moved the Lem ast to it.
|
|
|
|
|
|
homs for terms that only need locations and not full annotations
|
|
representation of types to support unification; importing support modules from Lem including pp and util
|
|
|
|
messages for syntax and lexical errors (i.e. syntax error and location information)
|
|
|
|
|
|
Output is only given in the event of a parse or lex failure (with poor reporting for now)
There are still 10 shift/reduce conflicts that may need further investigating and a few syntax changes that need discussion.
|
|
eventual type checking together
|