daml/compatibility/bazel_tools
nickchapman-da 353d0da6f7
Speedy ANF (#6440)
* ANF transformation in Speedy.

The idea behind this PR is to transform speedy expressions into a simpler form where all non-atomic sub-expressions are made explicit by the introduction of let-forms. In particular, for the function-application form. These simpler forms allow the execution engine to take advantage of the atomic assumption, and often removes many additional execution steps. In particular the pushing of continuations to allow execution to continue after a compound expression has been reduced to a value.

changelog_begin
changelog_end

* improve comment

* inline functions relocateA/L

* remove comment about scalafmt

* remove commented out alterative def for transformLet1

* improve code by adding incr methods to DepthA/E

* remove (n == 0) special case in trackBindings

* clarify comment further

* improve validate/go to not consume stack for deeply right-nested let-expressions

* address comments from Remy: be private; use final case case; etc

* rename to unsafeCompilationPipeline

* add back some trailing commas

* remove commented-out debug line

* improve comment

* remove dev/debug code in compilationPipeline

* remove commented out code in SEAppGeneral.execute

* undo unrelated code improvement in SValue.scala

* fix compile. object Anf cannot be private
2020-06-30 20:52:44 +00:00
..
client_server Share postgres instance in compatibility tests (#6504) 2020-06-26 11:18:57 +02:00
create-daml-app Upgrade puppeteer (#6539) 2020-06-30 16:45:08 +02:00
daml_ledger Include create-daml-app tests in compatibility tests (#5945) 2020-05-13 10:39:51 +02:00
daml_script Implement version name shortening for Windows (#5863) 2020-05-06 11:48:07 +00:00
daml_trigger Setup compatibility tests for DAML Trigger (#6112) 2020-05-27 12:32:37 +00:00
data_dependencies Validate data-dependencies test DARs (#6320) 2020-06-12 17:21:00 +00:00
test_utils Include create-daml-app tests in compatibility tests (#5945) 2020-05-13 10:39:51 +02:00
BUILD Include puppeteer tests in compat tests (#6018) 2020-05-22 14:02:59 +02:00
create_daml_app_test.sh Speed-up create-daml-app compat tests (#6087) 2020-05-25 16:25:10 +02:00
daml_ledger_test.sh Include daml ledger tests in compatibility tests (#5740) 2020-04-27 16:13:16 +00:00
daml_sdk.bzl Track runfile dependencies of SDK assistant (#6462) 2020-06-24 10:10:12 +00:00
daml.cc.tpl Include puppeteer tests in compat tests (#6018) 2020-05-22 14:02:59 +02:00
sandbox-with-postgres.sh Include sadbonx-classic in compatibility tests (#6399) 2020-06-19 15:55:39 +02:00
testing.bzl Speedy ANF (#6440) 2020-06-30 20:52:44 +00:00
versions.bzl Setup compatibility tests for DAML Trigger (#6112) 2020-05-27 12:32:37 +00:00