John David Pressman
694c3aea97
Add implicit_account to operators
2019-12-01 21:56:49 +00:00
Rémi Lesenechal
f1c9c11ae4
Merge branch 'refactoring-eval-run-functions' into 'dev'
...
Refactoring eval run functions
**Purpose of the refactoring (approx 250 lines of code removed):**
1. "flatten" the different compilation steps (in the tests & CLI), avoiding the russian doll effect of the `Of_**` modules. What is being done is now clearer (not perfect but way better IMO
2. Make the Run module actually only run code.. instead of being responsible for both compilation & michelson evaluation. As a result, only the `Run.Of_michelson` module remains.
3. I added a module Compile.Wrapper, which make use of the functions defined in the `Compile.Of_*` modules. They are both use by the tests and the CLI.
4. delete dead/duplicated code in the `Compile.Of_*` modules to keep it as minimal as possible
See merge request ligolang/ligo!229
2019-11-29 21:22:56 +00:00
Rémi Lesenechal
4be2d6fb6a
Refactoring eval run functions
2019-11-29 21:22:56 +00:00
Tom Jack
a121766a89
Fix semantic merge conflict w/ expect tests
2019-11-29 10:00:58 -06:00
Gabriel Alfour
c1dac64af3
Merge branch 'feature/inlining2' into 'dev'
...
Substitution-based inlining
See merge request ligolang/ligo!227
2019-11-29 14:17:25 +00:00
Gabriel Alfour
bfb01d371a
Merge branch 'feature/more-subtraction' into 'dev'
...
Type subtraction also as nat->int->int and int->nat->int
See merge request ligolang/ligo!228
2019-11-29 10:13:29 +00:00
Tom Jack
49586b65be
Type subtraction also as nat->int->int and int->nat->int
2019-11-28 06:48:24 -06:00
Tom Jack
6c7e1af0c1
Merge branch 'feature/better-man' into 'dev'
...
Better man
See merge request ligolang/ligo!216
2019-11-28 12:43:50 +00:00
Suzanne Dupéron
16a2d76e66
Merge branch 'feature/nocrlf' into 'dev'
...
Stop using docker `-it` to avoid spurious CRLF
See merge request ligolang/ligo!226
2019-11-28 09:54:49 +00:00
Tom Jack
0040b1f460
Mention subcommand --help only once
2019-11-27 11:00:21 -06:00
Tom Jack
e3fbc58e7a
Show help instead of "Do ligo --help"
2019-11-27 11:00:21 -06:00
Tom Jack
32625bb075
Use doc
not docs
in cli
2019-11-27 11:00:21 -06:00
Tom Jack
06603b594a
Mini_c: Identify more pure constants
2019-11-27 09:06:36 -06:00
Tom Jack
66d2cda107
Mini_c: Inlining optimization
2019-11-27 09:06:31 -06:00
John David Pressman
adb4572bde
Merge branch 'docs/iterators' into 'dev'
...
Add better explanation of tuples and map iterator docs
See merge request ligolang/ligo!223
2019-11-27 10:13:57 +00:00
Tom Jack
ca1025b705
Stop using docker -it
to avoid spurious CRLF
2019-11-26 18:29:25 -06:00
Rémi Lesenechal
7a7b9cc038
Merge branch 'contract-better-multisigv2' into 'dev'
...
Better multisigv2 contract
See merge request ligolang/ligo!220
2019-11-26 22:04:43 +00:00
Lesenechal Remi
e7195c4c41
mutisig v2 some renaming and counter reset fix
2019-11-26 19:21:51 +01:00
Lesenechal Remi
39c7766b08
multisig v2 comments
2019-11-26 19:11:30 +01:00
Lesenechal Remi
cf540a1a78
multisigv2 default entry point
2019-11-26 19:11:30 +01:00
Lesenechal Remi
c8eb1a3fa6
multisigv2 with less user uncertainty
2019-11-26 19:11:30 +01:00
Lesenechal Remi
b82383751c
multisigv2 more robust to spam
...
Set limits to the number of approvals and message sizes
2019-11-26 19:11:30 +01:00
Lesenechal Remi
652138b115
new 'expect' test helpers working on expressions
2019-11-26 19:11:30 +01:00
Lesenechal Remi
00def6d20e
Fix a bug, test added:
...
A never accounted message was not adding anything to the map
2019-11-26 19:11:30 +01:00
Rémi Lesenechal
48bef70a6a
Merge branch 'record-accesses-fix' into 'dev'
...
Broken nested access to record
See merge request ligolang/ligo!225
2019-11-26 18:09:06 +00:00
Rémi Lesenechal
23d2241891
Merge branch 'quickfix-forloop-elt-name' into 'dev'
...
generated variable name typo
See merge request ligolang/ligo!224
2019-11-26 17:36:10 +00:00
Lesenechal Remi
c1c551e33f
fix and more tests
2019-11-26 18:08:53 +01:00
Lesenechal Remi
848b902cd9
generated variable name typo
2019-11-26 17:49:23 +01:00
John David Pressman
0908338616
Remove 'imperative' from phrase 'imperative iteration'
2019-11-26 05:40:41 -08:00
John David Pressman
d23819245f
Add explanation of folding to the map fold
2019-11-26 05:39:54 -08:00
John David Pressman
ebaa913c5a
Add better explanation of tuples and map iterator docs
2019-11-26 04:08:16 -08:00
Tom Jack
f7ef0472be
Add command for measuring contracts
2019-11-25 17:36:22 -06:00
Tom Jack
c322ca53de
Merge branch 'feature/cli-tests' into 'dev'
...
Add some cli expect tests
See merge request ligolang/ligo!215
2019-11-25 19:59:47 +00:00
Tom Jack
569c0dffa2
Merge branch 'fix-dev' into 'dev'
...
Fix build: constrain dune version
See merge request ligolang/ligo!221
2019-11-25 15:01:02 +00:00
Tom Jack
3323c7f7d2
Fix build: constrain dune version
2019-11-25 08:15:11 -06:00
Tom Jack
e16ddf7ddc
Merge branch 'region-invalid' into 'dev'
...
Fix a Region.Invalid error in Cameligo simplifier
See merge request ligolang/ligo!214
2019-11-22 21:53:59 +00:00
Rémi Lesenechal
b8020315d9
Merge branch '73-error-when-dry-running-a-contract-having-a-storage-which-contains-a-lambda' into 'dev'
...
Resolve "Error when dry-running a contract (having a storage which contains a lambda)"
Closes #73
See merge request ligolang/ligo!219
2019-11-22 20:28:55 +00:00
Rémi Lesenechal
c7dfd54f7e
Resolve "Error when dry-running a contract (having a storage which contains a lambda)"
2019-11-22 20:28:55 +00:00
Rémi Lesenechal
1219a0188c
Merge branch 'contract-multisigv2' into 'dev'
...
Multisig v2
See merge request ligolang/ligo!218
2019-11-22 17:04:35 +00:00
Lesenechal Remi
6555c39c9d
some review request
2019-11-22 17:15:49 +01:00
Lesenechal Remi
cd94fd850b
move common funciton test helpers
2019-11-22 15:52:46 +01:00
Lesenechal Remi
30a410413a
mulisig contract v2 and test
2019-11-22 15:41:30 +01:00
John David Pressman
ecaa1a3aea
Merge branch 'test/cameligo-higher-order-2' into 'dev'
...
Add higher order function test to CameLIGO
See merge request ligolang/ligo!217
2019-11-22 11:08:03 +00:00
John David Pressman
0b50d94071
Add higher order function test to CameLIGO
2019-11-22 02:22:29 -08:00
Tom Jack
7f7d5972ac
Fix a Region.Invalid error in Cameligo simplifier
2019-11-21 16:53:17 -06:00
Tom Jack
6f9778f578
Add some cli expect tests
2019-11-21 16:46:38 -06:00
Tom Jack
dbb36e6fdc
Use runtest to run tests
2019-11-21 12:28:38 -06:00
Rémi Lesenechal
f4c3828866
Merge branch 'contract-multisig' into 'dev'
...
Contracts : multisig
See merge request ligolang/ligo!204
2019-11-21 17:58:21 +00:00
Lesenechal Remi
17ecf12fa3
multisig : non quadratic signature check
2019-11-21 17:21:39 +01:00
Lesenechal Remi
88a0f33fca
add key_hash type and crypto_key_hash operator to pascaligo
2019-11-21 17:21:39 +01:00