Clyybber
7e747d11c6
Cosmetic compiler cleanup ( #12718 )
...
* Cleanup compiler code base
* Unify add calls
* Unify len invocations
* Unify range operators
* Fix oversight
* Remove {.procvar.} pragma
* initCandidate -> newCandidate where reasonable
* Unify safeLen calls
2019-11-28 17:13:04 +01:00
Clyybber
ed1d41c51e
Small ast.nim cleanup ( #12156 )
...
* Remove sonsLen
* Use Indexable
2019-09-09 11:54:15 +02:00
Arne Döring
afbcd1b330
int128 on firstOrd, lastOrd and lengthOrd ( #11701 )
...
* fixes #11847
2019-08-07 15:53:16 +02:00
Clyybber
cc28eef38e
Replace countup(x, y) with x .. y
2019-05-07 12:37:28 +02:00
Clyybber
f18b3af9d4
Replace countup(x, y-1) with x ..< y
2019-05-07 12:32:05 +02:00
Andreas Rumpf
ea409fb15a
first steps in implementing 'owned' pointers; undocumented, do not use
2019-02-23 08:44:08 +01:00
Andreas Rumpf
a4e2b0c153
platform.nim doesn't use globals anymore; prepare msgs.nim for not using globals
2018-05-18 15:18:00 +02:00
Andreas Rumpf
8ca5b71c6a
the remaining passes all compile again
2018-05-13 00:45:52 +02:00
treeform
35b0cc67e8
Remove PHP backend. ( #7606 )
...
* remove php
* fix
* keep nimphpext
* remove targetJS enum
2018-04-18 20:40:11 +02:00
zah
e3037a2f33
Support code hot reloading for JavaScript projects ( #7362 )
...
* Support code hot reloading for JavaScript projects
* Add some missing JavaScript symbols and APIs
* fix the Travis build
* (review changes) remove the js type from the standard library as it doesn't follow NEP-1
* more additions to the DOM module
* Follow NEP-1 in jsffi; spell 'hot code reloading' correctly
* introduce a jscore module
* Document jscore module.
* readded js type
* Remove the '$' operator that doesn't behave
2018-04-13 19:08:43 +02:00
Andreas Rumpf
e4081a7201
preparations for language extensions: 'sink' and 'lent' types
2018-01-07 23:09:26 +01:00
Andreas Rumpf
70ea45cdba
deprecated unary '<'
2017-10-29 08:37:13 +01:00
Araq
4de989d1c5
fixes #6035
2017-06-30 12:01:51 +02:00
Yuriy Glukhov
6e0e3b75cf
Fixed const sets in JS ( #5790 )
2017-05-10 09:29:30 +02:00
Silvio
51cd3bd86f
Fixes #5062 ( #5527 ); JS: holes in enums
2017-03-15 10:33:37 +01:00
Araq
e6c5622aa7
removed tyArrayConstr completely from the compiler; introduced tyAlias instead in preparation for further bugfixes
2016-11-14 23:18:30 +01:00
Andreas Rumpf
3a13706d7d
fixes #4673
2016-09-01 13:02:53 +02:00
Andreas Rumpf
f47165af11
fixes #3706
2016-07-13 01:06:33 +02:00
Andreas Rumpf
9b44ca17c2
PHP codegen can generate PHP classes
2016-02-06 15:39:56 +01:00
Andreas Rumpf
35567a1eb9
first version of an PHP codegen
2016-02-06 15:39:56 +01:00
Yuriy Glukhov
0d5b9afb08
Fixed JS codegen for distinct types
2015-11-23 21:14:15 +02:00
Yuriy Glukhov
2166b7bc46
Fixed ret by var in js
2015-10-15 16:04:53 +03:00
Yuriy Glukhov
aeff57627b
Fixed JS gen for generic array types.
2015-09-14 14:30:08 +03:00
def
39049e151f
Get rid of deprecation warnings
2015-04-07 15:47:18 +02:00
def
b72528d635
Typeinfo for uints in javascript
2015-03-12 13:16:47 +01:00
Araq
2781fea9e2
Nimrod renamed to Nim
2014-08-28 09:38:14 +02:00
Araq
4196757de7
implemented region pointers
2014-04-09 00:33:51 +02:00
Araq
b731e6ef1c
case consistency: cs:partial bootstraps on windows
2013-12-29 03:19:10 +01:00
Araq
92b8fac94a
case consistency part 4
2013-12-27 23:10:36 +01:00
Araq
3897a8c44b
new JS code generator
2013-04-28 23:41:10 +02:00