gerrit.simantics Code Review - simantics/platform.git/atom - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/markdown/spec.txt history Simantics Platform SDK. https://gerrit.simantics.org/r/gitweb?p=simantics/platform.git Gerrit Code Review favicon.ico gitweb-logo.png 2017-07-09T06:38:20Z gitweb Updated CommonMark specification, used only for tests 2017-07-09T06:38:20Z Hannu Niemistö hannu.niemisto@semantum.fi Hannu Niemistö hannu.niemisto@semantum.fi 2017-07-09T06:38:20Z https://gerrit.simantics.org/r/gitweb?p=simantics/platform.git;a=commitdiff;h=48488ea548a7cf254a4b9a5fa3ed89f717dfd7ef
Updated CommonMark specification, used only for tests

Change-Id: Ib1f51968ea008a36d1b1492c57d5b9750d29c1e0
  • [D] tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/markdown/spec.txt
Merged changes from feature/scl to master. 2016-12-20T10:09:30Z Hannu Niemistö hannu.niemisto@semantum.fi Hannu Niemistö hannu.niemisto@semantum.fi 2016-12-20T10:09:30Z https://gerrit.simantics.org/r/gitweb?p=simantics/platform.git;a=commitdiff;h=a8758de5bc19e5adb3f618d3038743a164f09912
Merged changes from feature/scl to master.

This commit contains lots of SCL compiler and runtime changes:
* New CHR-rule based sublanguage. This change alters meaning of
when-keyword and so some code using when may break.
* Removed type classes Eq and Hashable. Compiler now generates and uses
Java methods equals and hashCode. This change is needed for better
interoperability with Java code.
* Type based overloading for symbols imported from different modules
* Some expressions ignore their return value (statements in
do/let/where, if and match cases if the return value of if/match is
ignored). These expressions can have any type and if/match expression
branches may have different types. Also if-expressions may have only
else branch. If the return value of apply-experssion is ignored, the
expression cannot be partial application that does not have
side-effects.
* View pattern support
(https://ghc.haskell.org/trac/ghc/wiki/ViewPatterns)
* Lambda-match support
(https://ghc.haskell.org/trac/ghc/wiki/LambdasVsPatternMatching)
* String interpolation can be used also in patterns
* SCL compiler regression test suite has been moved to a new bundle
org.simantics.scl.compiler.tests
* Improvements to SCL module editor syntax coloring
* SCL compiler refactorings, for example all name constants are now in a
dedicated class Names and CompilationContext merging old context classes
* Improved byte code for comparisons
* Improved code generation from string interpolation
* Anonymous object support in SCL backend (not yet frontend support)
* Bugfixes and new regression tests

refs #6888

Change-Id: I9d4c001d0323069d3b86a83369fa3581f02ee305
  • [D] tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/markdown/spec.txt
Automatic execution of SCL tests in Maven 2016-09-23T12:14:20Z Hannu Niemistö hannu.niemisto@semantum.fi Hannu Niemistö hannu.niemisto@semantum.fi 2016-09-23T12:14:20Z https://gerrit.simantics.org/r/gitweb?p=simantics/platform.git;a=commitdiff;h=0364f8f54b009e9e5de482d5c9d1cb7efb023141
Automatic execution of SCL tests in Maven

This includes both compiler tests (in
tests/org.simantics.scl.compiler.tests) and a test that checks that all
SCL modules in org.simantics.sdk feature compile (in
tests/org.simantics.scl.osgi.tests).

This commit contains also some modifications to make all SCL
modules compile:
* Disabled Data/Json, because it does not compile (missing jackson)
* Committed away Simantics/Image/linkImage

Change-Id: I22a460d756f65139971f1e7d2cc8624a7a6b8ffb
  • [D] tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/markdown/spec.txt