Ulf Norell
|
d8adfce465
|
Tests for unapplied builtins
|
2019-09-04 10:45:43 +02:00 |
|
Ulf Norell
|
b9d141e035
|
Fix issue with AEVM eta expansion
|
2019-09-04 10:45:22 +02:00 |
|
Ulf Norell
|
c37cc93abe
|
Don't try to eta expand builtins with named arguments in AEVM
|
2019-09-04 10:21:30 +02:00 |
|
Ulf Norell
|
157ffbf9e2
|
Fix bug with unapplied builtins taking typerep arguments
(Oracle builtins and AENS.resolve)
|
2019-09-04 10:20:04 +02:00 |
|
Ulf Norell
|
602e99512f
|
Fail gracefully on higher-order state in AEVM and accept it in FATE
|
2019-09-03 17:24:40 +02:00 |
|
Ulf Norell
|
325d69e96d
|
Fail gracefully on bad top-level declaration
|
2019-09-03 17:24:06 +02:00 |
|
Ulf Norell
|
412b0b8b6d
|
Improve some parse errors
|
2019-09-03 16:51:04 +02:00 |
|
Ulf Norell
|
61faa3e2dd
|
Fix missing file name from type errors
|
2019-09-03 15:01:29 +02:00 |
|
Ulf Norell
|
69a4c1365b
|
Test case for calling init function from inside the contract
|
2019-09-03 14:47:13 +02:00 |
|
Ulf Norell
|
0b56691533
|
Tell dialyzer to bugger off
|
2019-09-03 14:36:36 +02:00 |
|
Ulf Norell
|
30de1db163
|
More code errors
|
2019-09-03 14:35:13 +02:00 |
|
Ulf Norell
|
adfa325f48
|
Don't use _main for the AEVM top entrypoint
|
2019-09-03 14:35:13 +02:00 |
|
Ulf Norell
|
0533ab27e1
|
Check that there are no maps in map keys already in type checker
|
2019-09-03 14:35:13 +02:00 |
|
Ulf Norell
|
510935d945
|
Framework and tests for code generation (icode/fcode) errors
|
2019-09-03 14:35:13 +02:00 |
|
Ulf Norell
|
f2469a676d
|
Refactor builtin compilation in icode
- Eta expand instead of failing on unapplied builtins
|
2019-09-03 14:35:13 +02:00 |
|
Ulf Norell
|
db7bf7a730
|
Set error msg position to last occurrence of duplicate definition
|
2019-09-03 14:35:13 +02:00 |
|
Ulf Norell
|
e37ac44726
|
Ensure that init is not payable
|
2019-09-03 14:35:13 +02:00 |
|
Hans Svensson
|
249b61238e
|
Structured parse_errors and type_errors
|
2019-09-03 14:35:13 +02:00 |
|
Hans Svensson
|
9e955d5958
|
Remove unused aeso_constants
|
2019-09-03 14:35:13 +02:00 |
|
Hans Svensson
|
f0c728ef1e
|
set aebytecode commit
|
2019-09-03 13:15:19 +02:00 |
|
Ulf Norell
|
470970d937
|
Disallow calling init from inside the contract
|
2019-09-03 12:22:15 +02:00 |
|
Ulf Norell
|
58ab771dff
|
Make init do the state updates in FATE (instead of a new INIT function)
|
2019-09-03 09:01:11 +02:00 |
|
Thomas Arts
|
e9f717a17b
|
Update src/aeso_ast_to_icode.erl
Co-Authored-By: Ulf Norell <ulf.norell@gmail.com>
|
2019-09-02 10:21:35 +02:00 |
|
Thomas Arts
|
cf91a27fb2
|
Keep sign last
|
2019-09-01 10:58:49 +02:00 |
|
sennui
|
83d06977f9
|
add extra argument to claim for bidding
|
2019-09-01 10:58:49 +02:00 |
|
Ulf Norell
|
062309e578
|
Type variables mentioned in local functions should not be flexible
(cc #112)
|
2019-08-30 14:22:31 +02:00 |
|
Ulf Norell
|
6fd39d4cb1
|
Add checks for polymorphic/higher order oracles and higher order entrypoints (AEVM)
|
2019-08-30 11:18:20 +02:00 |
|
Ulf Norell
|
1ce95b32ac
|
Add checks for polymorphic/higher order oracles and higher order entrypoints (FATE)
|
2019-08-30 11:18:20 +02:00 |
|
Ulf Norell
|
80075a9d36
|
Add missing case for builtin unit type
|
2019-08-28 09:45:25 +02:00 |
|
Ulf Norell
|
c51531f620
|
please dialyzer
|
2019-08-27 18:04:32 +02:00 |
|
Ulf Norell
|
3b2daf8cd6
|
Better errors when using old tuple type syntax
|
2019-08-27 15:08:56 +02:00 |
|
Ulf Norell
|
3ff93c5c89
|
Fix bug in include chasing
... making it possible for the same file to be included multiple times
|
2019-08-27 14:29:24 +02:00 |
|
Ulf Norell
|
850221aaf3
|
Remove no_implicit_stdlib option
|
2019-08-27 14:10:40 +02:00 |
|
Ulf Norell
|
7705138ab2
|
auto-import ListInternal when using list comprehensions or [a..b]
|
2019-08-27 13:59:36 +02:00 |
|
Ulf Norell
|
5f733e01dd
|
Implement [a..b]
|
2019-08-27 13:59:01 +02:00 |
|
Ulf Norell
|
79a928e530
|
Fix bad type specs
|
2019-08-27 13:56:02 +02:00 |
|
Ulf Norell
|
d23208c191
|
Fix bugs in dependency analysis
|
2019-08-27 13:55:45 +02:00 |
|
Ulf Norell
|
02af75aa34
|
Move stdlib code to priv dir and don't do any implicit includes
|
2019-08-27 11:33:29 +02:00 |
|
Ulf Norell
|
9eed18f812
|
Merge pull request #132 from aeternity/fate-compiler-optimizations
Fate compiler optimizations
|
2019-08-26 08:25:40 +02:00 |
|
Ulf Norell
|
07cf162703
|
Fix performance problem in FATE optimiser caused by debug printing
|
2019-08-23 10:07:43 +02:00 |
|
Hans Svensson
|
d4c6187739
|
Merge pull request #130 from aeternity/PT-168026424-prepare_sophia_4_0_RC1
Preparing 4.0.0-rc1
|
2019-08-22 16:02:06 +02:00 |
|
Hans Svensson
|
2620aa64b4
|
Add some no_implicit_stdlib for now
|
2019-08-22 15:21:41 +02:00 |
|
Ulf Norell
|
20064b72fa
|
Compile tail-calls to current function to jumps
|
2019-08-22 14:50:15 +02:00 |
|
Ulf Norell
|
a942561907
|
Improved optimizations of FATE code
|
2019-08-22 14:49:48 +02:00 |
|
Hans Svensson
|
bde76c8580
|
Preparing 4.0.0-rc1
|
2019-08-22 13:30:00 +02:00 |
|
Ulf Norell
|
e94b5379ed
|
Deadcode elimination pass
|
2019-08-21 12:19:01 +02:00 |
|
Ulf Norell
|
cbc8909954
|
Add default init function in fcode pass instead of in assembler
|
2019-08-21 11:51:36 +02:00 |
|
Ulf Norell
|
bbf043f4ee
|
Merge pull request #126 from radrow/listcompfixes
Fixed comprehension dependencies
|
2019-08-21 11:51:16 +02:00 |
|
Ulf Norell
|
ba41ab457d
|
Merge pull request #127 from aeternity/radrow-patch-1
Fixed intersperse in stdlib
|
2019-08-21 11:51:04 +02:00 |
|
Hans Svensson
|
ebdd38c505
|
Change ecverify into verify_sig and then add an actual ecverify
|
2019-08-21 09:29:40 +02:00 |
|