Commit graph

17 commits

Author SHA1 Message Date
Kevin Eady
ae96ecbf77
Remove OGC from EcompileMain, testsuites (#383)
* Remove OGC from escript testsuite

* Remove compiler options

* Remove Facility::Compiler

* Update docs and options in ecompile help usage

* Update core-changes, breaking-changes
2021-03-04 17:39:14 +01:00
Eric Swanson
d8ad58f64f
Update test suite for new compiler (#299)
* Update test suite:
- run test suite with both OG compiler and new compiler
- run compiler parity test against testsuite/escript
2020-09-11 01:38:39 -07:00
Eric Swanson
0cf61caa5a
New compiler: alter test: postfix operators are now highest precedence (#295) 2020-09-10 00:09:34 -07:00
turleypol
da4ef6d950 added test for ++ member_id 2019-10-04 16:47:24 +02:00
turleypol
6486c969e5 added tests for structs 2019-09-23 20:38:45 +02:00
turleypol
1cf738f499 added tests for --i and i-- 2019-09-22 18:21:34 +02:00
turleypol
f61e656c1c added next funny syntax test 2019-09-22 15:25:40 +02:00
turleypol
84e65b270c more funny syntax tests 2019-09-22 11:50:29 +02:00
turleypol
169c1ec4e3 added i--, corrected that no warning appears when using i++. Extended
tests
2019-09-22 11:04:57 +02:00
turleypol
57c7d97b8c more i++ tests and fixed syntax checks 2019-09-22 09:37:51 +02:00
turleypol
b2a3e1b792 starting to support i++ 2019-09-22 00:34:14 +02:00
turleypol
b89b7b399b some fail tests and non number object 2019-09-21 16:35:54 +02:00
turleypol
23bc135c71 added test for const variables 2019-09-21 16:19:19 +02:00
turleypol
902c9cbfde first version of ++i and --i unary operator 2019-09-21 14:56:06 +02:00
turleypol
e6f59a69a9 removed instructions testscript files they are not used
removed appveyor xml testresult (I'm to dumb)
2018-10-31 12:09:31 +01:00
Gabriele Tozzi
530790c8f8 Comparison operators refactor: better handle weird cases, cleaning
- obj.isLesserThan() and obj.ieEqual() are now replaced by < and ==
- Removed obsolete isLT(), isLE(), isGT(), isGE()
- Also implemented comparison operators for BObjectImp
- These operators may now be fully overriden in child classes
- Default implementations are derived from == and < operators
- As a general rule (that fit into "undefined" behavior":
-- Objects are == if having the same address
-- Objects are < based on their type ID, except of Error and Uninit
   that always are < everything else.
-- Objects are supposed to implement their own < and fall back to
   base class. If not implemented, as a last fallback, the object's
   address in memory is used to do the comparison
- Added test case for comparison operators
2016-01-24 22:22:45 +01:00
Gabriele Tozzi
0efeb4d379 Unit Tests: putting some orde rin escript unit tests 2015-12-19 02:31:08 +01:00