Commit graph

55 commits

Author SHA1 Message Date
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
Zahary Karadjov
afddae5aaf Merge branch 'upstream' into devel
Conflicts:
	compiler/ccgutils.nim
	compiler/msgs.nim
	compiler/sem.nim
	compiler/semexprs.nim
	compiler/seminst.nim
	compiler/semmagic.nim
	compiler/semstmts.nim
	compiler/semtypes.nim
	compiler/semtypinst.nim
	compiler/sigmatch.nim
	compiler/types.nim
	compiler/vmgen.nim
	lib/core/macros.nim
	lib/system.nim
	tests/reject/tenummix.nim
	web/news.txt
2013-12-29 17:21:00 +02:00
Araq
b731e6ef1c case consistency: cs:partial bootstraps on windows 2013-12-29 03:19:10 +01:00
Araq
438703f59e case consistency: next steps 2013-12-29 01:13:51 +01:00
Araq
92b8fac94a case consistency part 4 2013-12-27 23:10:36 +01:00
Zahary Karadjov
027f30610e static params: expr[T] is now static[T]
This introduces tyStatic and successfully bootstraps and handles
few simple test cases.  Static params within macros are no longer
treated as PNimrodNodes - they are now equivalent to constants
of the designated type.
2013-12-19 01:06:38 +02:00
Zahary Karadjov
de3b7cd413 progress towards adding negative type classes
[unittest bugfixes]
the block form of check now allows comments
errors when inspecting the arguments of var-accepting procs
2013-12-09 00:09:03 +02:00
Araq
98defd5a56 fixes #616 2013-10-10 00:55:54 +02:00
Simon Hafner
becd55dced moved eqproc to the correct magic position
also added mEqCString to evalOps so the test runs
2013-09-26 15:05:00 -05:00
Simon Hafner
e1c2aa2ddd Revert "deleted EqProc so the magic aligns again" - wrong remote.
This reverts commit d7c8b3ad06.
2013-09-26 14:31:02 -05:00
Simon Hafner
d7c8b3ad06 deleted EqProc so the magic aligns again 2013-09-26 14:27:52 -05:00
Araq
9bfcdc40ef JS codegen: supports more builtins 2013-09-24 23:56:23 +02:00
Araq
e3ecc328a1 fixes #593 2013-09-24 21:45:22 +02:00
Araq
bfbdb1f028 refactorings for the eval engine; bugfix: clean templates as accessors 2013-07-19 22:22:20 +02:00
Araq
fa062ca0c4 next steps to a luajit codegen 2013-06-02 21:50:56 +02:00
Araq
2ec3e6b49e more accurate effects for times.nim; bugfix for the JS codegen 2013-05-31 12:20:55 +02:00
Araq
56045ad7ff bugfixes mostly JS related 2013-05-01 14:48:40 +02:00
Araq
d64d6a70d4 new js codegen: bugfixes 2013-04-30 09:48:21 +02:00
Araq
3897a8c44b new JS code generator 2013-04-28 23:41:10 +02:00
Araq
7c12117ce0 fixes #378 2013-04-08 20:43:44 +02:00
Araq
ba80bd807c fixes #376 2013-03-24 13:05:19 +01:00