yglukhov
e9a57e9706
Fixed codegen for DotDot magic
2015-06-04 12:00:27 +03:00
yglukhov
d3c4c7c52f
Fixes #2798
2015-05-26 16:00:48 +03:00
yglukhov
4439b00b19
Fixed JS call codegen, when first parameters are compile-time.
2015-05-19 13:41:18 +03:00
Araq
daad8100a9
fixed nil.add for JS
2015-04-22 15:21:20 +02:00
Araq
54515241e3
fixes #2581
2015-04-22 12:04:10 +02:00
Araq
aacaa8f171
cleaned up some magics to make room for new magics; added '..<' and '..^' templates
2015-04-22 12:04:09 +02:00
Araq
f7f9265399
attempt to fix JS codegen regression
2015-04-20 22:53:46 +02:00
Araq
5cea6807e1
fixes #2476
2015-04-19 02:43:19 +02:00
Oleh Prypin
1d7fc5fcda
Don't add a comma too soon
...
Fixes #2495
2015-04-09 04:21:55 +03:00
def
39049e151f
Get rid of deprecation warnings
2015-04-07 15:47:18 +02:00
Jacek Sieka
c40249cd43
compiler_ropes: ropeToStr -> $
2015-04-01 22:32:15 +08:00
Simon Hafner
36b6bfaf78
cannot gen symbol -> must be compile time
2015-03-26 05:04:12 +05:00
Yuriy Glukhov
9b0c704393
uint support for JS.
2015-03-24 11:48:24 +02:00
Araq
5641be51c1
codegen doesn't produce line tracing commands anymore; fixes #1344
2015-03-21 20:38:27 +01:00
Dominik Picheta
1e9ab3bb0a
Fixes #2323 . Fixes #2148 .
2015-03-15 22:06:26 +00:00
Araq
f88678bed4
fixes #2298
2015-03-12 11:08:03 +01:00
Hans Raaf
58186f6c1d
Replaced deprecated repeatChar() with repeat() or spaces().
2015-03-04 03:30:43 +01:00
Federico Ceratto
c95f6f117a
Fix typos
2015-02-15 16:06:06 +00:00
Simon Hafner
11292a9e0b
Fixes #1959 , rounding floats in JS
2015-01-29 05:30:55 -06:00
Guillaume Gelin
3119fe087d
Happy new year!
2015-01-06 15:26:33 +01:00
Araq
2be3f501a1
fixes #1742
2014-12-24 13:02:58 +01:00
Araq
9724bd4e1b
minor improvements to the docs
2014-12-14 11:50:10 +01:00
Araq
0cb3d31617
further website improvements
2014-12-10 02:29:31 +01:00
juxiliary
cd0f17202e
Fixing extraneous semicolon in jsgen output
...
jsgen was producing javascript objects like this
```
{, name:"foo"}
```
causing syntax errors in javascript interpretors.
2014-12-06 21:57:20 +10:00
Araq
51dd4b7601
fixes #1489 , fixes #1490
2014-11-28 18:15:06 +01:00
Araq
c5cc20d337
fixes #1548
2014-11-17 08:54:31 +01:00
Simon Krauter
90b606b3da
Fix issue #1660
...
https://github.com/Araq/Nimrod/issues/1660
2014-11-15 18:05:49 +01:00
Araq
7916b1f9aa
implemented 'guard' annotation
2014-09-21 18:39:00 +02:00
Araq
5946747970
updated the compiler to use the new symbol names
2014-08-28 23:48:42 +02:00
Araq
2781fea9e2
Nimrod renamed to Nim
2014-08-28 09:38:14 +02:00
Araq
bc2e83fe17
documented the JS codegen
2014-08-20 01:11:47 +02:00
Andreas Rumpf
e0fcfe58a2
Merge pull request #1485 from def-/js-substr
...
Fix CopyStr (substr in system.nim) for javascript target
2014-08-15 21:43:37 +02:00
Andreas Rumpf
6d67dccd04
Merge pull request #1484 from def-/js-swap
...
Fix swap in jsgen
2014-08-15 21:42:31 +02:00
def
e460d6e40e
Fix CopyStr (substr in system.nim) for javascript target
2014-08-15 19:49:15 +02:00
def
6a7062fb60
Fix swap in jsgen
2014-08-15 19:34:28 +02:00
def
7a5a6ec5bc
Fix array address on nkHiddenAddr
2014-08-15 19:06:13 +02:00
Andreas Rumpf
f43ec61568
Merge pull request #1437 from def-/fix-#1291
...
Fix typo in mHigh
2014-08-01 02:09:09 +02:00
def
f17de0b13a
Fix typo in mHigh
2014-08-01 02:06:07 +02:00
def
0dd46ee845
Set kind of literal nodes as resExpr
2014-08-01 01:45:58 +02:00
flaviut
a568c6102f
Make codegen for 1 and similar valid
2014-05-16 19:07:32 -04:00
Dominik Picheta
b0a16fb619
Fixes problems with JS code gen.
...
--out for JS backend now works. setLen now works, this also fixes the base64
module. getCurrentExceptionMsg now also works with exceptions thrown by
JS. log() supports a variable number of args now. Fixed some case
sensitivity issues with arrayConstr and other functions.
2014-04-11 21:36:02 +01:00
Araq
4196757de7
implemented region pointers
2014-04-09 00:33:51 +02:00
Zahary Karadjov
862c0ef83d
split the inline and closure iterators into different symbol kinds for easier discrimination between them
2014-03-06 21:57:35 +02:00
Araq
3a2e1ce538
Merge branch 'devel' of https://github.com/Araq/Nimrod into devel
2014-02-25 01:29:12 +01:00
Zahary Karadjov
b677110bd6
rename compilerProcs to match the recently changed jssys.nim
2014-02-25 02:16:57 +02:00
Araq
6e584c42c2
vm2: new representation of registers
2014-02-21 17:23:37 +01:00
Zahary Karadjov
3f71b7f1f6
implements #766 ;
...
expressions such as Type.field are now recognised by the compiler.
This also fixes a bug, preventing the user-defined to check for the presence of
regular fields in addition to procs
2014-01-24 23:52:52 +02:00
Araq
73c6efdf66
'nil' as a statement is deprecated, use an empty 'discard' instead
2014-01-19 16:54:59 +01:00
Araq
a59939d295
it's the year 2014
2014-01-19 01:25:48 +01:00
Zahary Karadjov
789ba107cf
introduce tyFromExpr; fixes #618
2014-01-04 13:10:52 +02:00