Hans Svensson
2b7490776e
Add include directive
...
Add an include directive to include namespaces into a contract. Only allowed at the top level.
To allow includes, either call through aeso_compiler:file or set the option `allow_include` (and add `include_path`(s)).
2019-02-08 14:16:06 +01:00
Ulf Norell
e6f01481bf
Bind state and event primitives only in contracts (and with the right types)
2019-02-08 14:16:06 +01:00
Ulf Norell
d9188d58a7
Proper checking of types
2019-02-08 14:16:06 +01:00
Ulf Norell
dfa286d43c
Deadcode elimination (icode post pass)
2019-02-08 14:16:06 +01:00
Ulf Norell
478da2af33
Don't expose namespace functions as entrypoints
2019-02-08 14:16:06 +01:00
Ulf Norell
10be09fe30
Add checks on event constructor arguments to type checker
2019-02-08 14:16:06 +01:00
Ulf Norell
367f87b612
Implement namespaces
...
This includes a massive refactoring of the type checker, getting
rid of most of the ets tables and keeping a proper environment.
2019-02-08 14:16:06 +01:00
Ulf Norell
a367d5040a
Add builtin bit field type
2019-01-25 16:09:31 +01:00
Ulf Norell
d8bf0bda45
Remove integer bit operations
2019-01-25 16:09:31 +01:00
Ulf Norell
783d74dff1
Check for missing fields in record expressions
2019-01-11 14:23:53 +01:00
Ulf Norell
7849fe302c
Add missing type check of init function
2019-01-08 12:27:39 +01:00
Robert Virding
d4d02fd576
First test work commit, don't touch
2018-12-22 01:23:40 +01:00