
This fixes the AST, parser and typechecker, and adds a pass to transform Result back into Abbrev, but doesn't transform Initial yet. (It actually works for trivial stuff anyway, but it won't do the right thing for complex types or PROC parameters.) It appears (to me) to make sense to support INITIAL/RESULT reshaping and retyping too, so this does. Refs #42.
26 lines
467 B
Plaintext
26 lines
467 B
Plaintext
Language features supported by Tock
|
|
-----------------------------------
|
|
|
|
Everything in occam2.1, minus:
|
|
- inline VALOF
|
|
- PORTs, PLACE
|
|
|
|
KRoC's TLP interface.
|
|
|
|
Most of KRoC's preprocessor, although #USE reads a source file for now.
|
|
|
|
INLINE PROC and INLINE FUNCTION.
|
|
|
|
Intrinsics:
|
|
- ASSERT
|
|
- SQRT
|
|
- DSQRT
|
|
|
|
CHAN for CHAN OF, and PLACE for PLACE AT.
|
|
|
|
PLACE IN WORKSPACE and PLACE IN VECSPACE, both currently ignored.
|
|
|
|
INITIAL and RESULT abbreviations.
|
|
|
|
Array constructors.
|