jcosborn
044cef152f
add custom pragma support for var and let symbols ( #9582 )
...
* add custom pragma support for var and let symbols
* updated changelog for custom pragmas on var and let symbols
* add oldast switch for backwards compatibility
2019-01-07 12:36:06 +01:00
cooldome
eaca5be9d6
Change the order of compilation passes, transformation is made lazy at code gen ( #8489 )
...
* Ast no transformation
* Add getImplNoTransform to the macros module
* progress on delaying transf
* Fix methods tranformation
* Fix lazy lambdalifting
* fix create thread wrapper
* transform for lambda lifting
* improve getImplTransformed
* Fix destructor tests
* try to fix nimprof for linux
2018-10-18 20:21:25 +02:00
Andreas Rumpf
669a564492
remove more global variables in the Nim compiler
2018-05-27 11:10:56 +02: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
05724645f8
more modules compile again
2018-05-12 11:58:44 +02:00
Andreas Rumpf
2e76a92fe1
sempass2 compiles again
2018-05-11 14:18:39 +02:00
Andreas Rumpf
7eb39d9d26
guards.nim does compile
2018-05-11 13:07:16 +02:00
Arne Döring
6baca58693
Get symbol kind ( #7491 )
2018-04-11 16:48:01 +02:00
Andreas Rumpf
4f9e8cf313
macros.nim: deprecated ! operator
2017-11-19 13:23:04 +01:00
Andreas Rumpf
3fdb78fe80
fixes #5781
2017-11-18 21:47:14 +01:00
Andreas Rumpf
70ea45cdba
deprecated unary '<'
2017-10-29 08:37:13 +01:00
Araq
aa4260ffa8
overloading resolution for getAst; breaking change
2017-03-18 20:57:45 +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
Araq
29db0d8585
refactoring complete: explicit ident cache
2016-10-31 19:47:20 +01:00
Araq
773d17cd14
big refactoring: step 1
2016-10-31 15:34:44 +01:00
Andreas Rumpf
39ebe2175b
compiler almost free of deprecated expr/stmt names
2016-07-30 16:34:42 +02:00
Araq
000c413f35
disjoint checker is smarter (and slower)
2015-09-23 21:46:34 +02:00
Araq
90d1ad4231
made disjoint checker smarter; fixes regressions
2015-09-23 21:46:32 +02:00
rku
47114342c4
Removed magics: mEqI64 mLtI64 mLeI64
2015-06-10 10:25:36 +03:00
rku
372a5d3cbb
Removed magics: mAddI64, mSubI64, mMulI64, mDivI64, mModI64
...
Author: rku <rokups@zoho.com >
2015-06-10 10:25:35 +03:00
Araq
3fa2e79814
sempass2: bugfixes
2015-04-28 15:01:05 +02:00
Araq
4be0d16520
added '..^' and '..<' operators; 'nil' is allowed for 'len'; added plugin system to the compiler
2015-04-22 12:04:11 +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
ee99771afa
fixes #2359
2015-03-16 23:24:33 +01:00
Araq
ea5217c9fc
disjoint checker is somewhat smarter
2015-03-16 23:02:18 +01:00
Araq
5a21892da0
fixes #2287
2015-03-12 01:45:14 +01:00
Araq
a4b2762249
fixes #325
2015-01-28 19:31:36 +01:00
Guillaume Gelin
3119fe087d
Happy new year!
2015-01-06 15:26:33 +01:00
Araq
7916b1f9aa
implemented 'guard' annotation
2014-09-21 18:39:00 +02:00
Araq
2781fea9e2
Nimrod renamed to Nim
2014-08-28 09:38:14 +02:00
Araq
b1c8461a3b
fixes tinavlid_array_bounds test
2014-08-10 13:46:42 +02:00
Simon Hafner
be534279da
Merge pull request #1279 from Varriount/fix-1216
...
Fix issue #1216
2014-06-18 18:47:45 -05:00
Clay Sweetser
ec23f5ec0a
Fix issue #1216
2014-06-15 20:13:44 -04:00
Araq
9953e0bbca
tdisjoint_slice2 works
2014-05-31 01:16:16 +02:00
Araq
6470bd8f87
'parallel' proves array bounds
2014-05-29 13:27:45 +02:00
Araq
417b9f5a1d
'parallel' statement almost working
2014-05-22 08:41:50 +02:00
Araq
31b8fd66b1
'parallel' statement: next steps
2014-05-14 23:36:28 +02:00
Araq
c43e8df90c
progress for the 'parallel' statement
2014-05-14 01:51:44 +02:00
Araq
6195dbe491
initial non-compiling version of 'parallel'
2014-05-12 11:12:37 +02:00
Zahary Karadjov
45a345e93d
fix #866 ; generic static params
2014-03-09 23:38:17 +02:00
Araq
2b9311e9f1
fixes #584
2014-02-14 23:47:06 +01:00
Araq
73c6efdf66
'nil' as a statement is deprecated, use an empty 'discard' instead
2014-01-19 16:54:59 +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
Araq
84534ce4b8
Merge branch 'master' of github.com:Araq/Nimrod
2013-07-20 20:18:21 +02:00
Araq
bfbdb1f028
refactorings for the eval engine; bugfix: clean templates as accessors
2013-07-19 22:22:20 +02:00
Grzegorz Adam Hankiewicz
172945de31
Avoids usefulFact recursion with nil parameter. Fixes #518 .
2013-07-09 23:31:13 +02:00
Araq
ff1d68c50b
fixes #481
2013-06-13 15:19:55 +02:00
Araq
d4c91bbd85
improvements for 'not nil' checking
2013-06-13 01:40:11 +02:00
Araq
0097305953
bugfixes for the guarded data flow analysis
2013-06-12 00:41:02 +02:00