summary refs log tree commit diff stats
path: root/compiler
Commit message (Collapse)AuthorAgeFilesLines
* Support code hot reloading for JavaScript projects (#7362)zah2018-04-136-56/+91
| | | | | | | | | | | | | | | | | | | | | | * 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
* introduce nkTupleConstr AST node for unary tuple construction; breaking changeAndreas Rumpf2018-04-1323-54/+72
|
* Fix some usages of typedesc in async procsZahary Karadjov2018-04-131-1/+2
| | | | | This also fixes a compilation error in modules, based only on the new async module (i.e. not importing the full asyncdispatch)
* Sub second time resolution (#6978)Oscar Nihlgård2018-04-131-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add deprecation warnings to recently deprecated procs * Fix bad usage of the times module * Introduce sub second resolution * Fix usage of C's time() * Switch to nanosecond resolution * Make Time & Duration opaque again and fix some errors * Change back to TimeInterval for shorthands * Fix JS test * Fix build error for windows * Undeprecate epochTime * Documentation and minor changes * Lots of bugfixes and doc comments * Attempt to make travis & appveyor green * Fix edge cases for dealing with the local timezone * Workaround JS backend overflow/underflow bug * Use better workaround for not knowing the size of time_t * Use all available timezones for tests * Fix indentation * Add procs for accessing the fractional part of a duration * Order time units from smallest to largest since it makes more sense * Include months and years in `TimeUnit` * Review fix
* 'func' is now an alias for 'proc .noSideEffect'Andreas Rumpf2018-04-121-6/+8
|
* fixes #3948Andreas Rumpf2018-04-121-1/+7
|
* Add column number to instantiation info (#7376)PMunch2018-04-121-0/+3
| | | | | | | | | | | | | | * Add column number to instantiation info Instantiation info left out column number for no good reason. This adds it in as the third element of the tuple. * Fix test that failed and added change to changelog An assertion test failed because it was declaring a type that was expected to be populated by instantiationInfo with the old signature. Also added the changes to the changelog as it is a breaking change.
* Cleanups 20180401 (#7458)Jacek Sieka2018-04-126-74/+69
|
* Added a few useful os calls to VM (#7440)genotrance2018-04-121-19/+29
|
* quick bug fix (#7576)cooldome2018-04-121-0/+2
|
* fixes #2779Andreas Rumpf2018-04-111-1/+2
|
* fixes #6895Andreas Rumpf2018-04-112-3/+7
|
* Get symbol kind (#7491)Arne Döring2018-04-116-21/+30
|
* Enable RISC-V 64bit platform (#7541)Federico Ceratto2018-04-111-1/+1
| | | Related to #7417
* concepts: do not report concept parameters as unusedAndreas Rumpf2018-04-111-1/+2
|
* Add a few useful os calls to nimscript (#7442)genotrance2018-04-101-0/+6
|
* Cpp codegen: handling of imported exceptions. Fixes #3571 (#7360)cooldome2018-04-107-36/+79
|
* Fix compile time set cardinality (#7558)Oscar Nihlgård2018-04-102-11/+30
|
* Add RISC-V (riscv64) support (#7417)Federico Ceratto2018-04-071-2/+3
|
* Fix parser bug with type classes (#7480)Oscar Nihlgård2018-04-061-0/+1
|
* fixes #7528Araq2018-04-061-1/+4
|
* added the 'x.p[:T]' notation for explicit generic instantiations in ↵Araq2018-04-063-17/+34
| | | | combination with the ddot calling syntax
* semcheck negative array length (#7518)Oscar Nihlgård2018-04-061-0/+3
|
* revert the error messageAraq2018-04-061-1/+1
|
* improve compiler error messageAraq2018-04-061-1/+1
|
* fixes #7522Araq2018-04-066-10/+10
|
* fixes #6843Araq2018-04-061-1/+1
|
* fixes a regression about static object case variant checkingAraq2018-04-061-1/+3
|
* the 'deprecated' pragma for modules now supports an error messageAraq2018-04-063-3/+12
|
* Fixes #7407 (#7427)cooldome2018-04-061-2/+1
|
* fewer temporary string allocations for the compiler's renderer (#7484)Arne Döring2018-04-041-15/+20
|
* implemented v2 string literalsAraq2018-04-031-2/+12
|
* C codegen: preparations for different seq and string implementationsAndreas Rumpf2018-04-036-36/+110
|
* fixes codegen for nil cstringsAndreas Rumpf2018-04-021-10/+15
|
* sink parameters: next stepsAndreas Rumpf2018-04-011-8/+11
|
* destructors: first version of 'sink' parameter logicAndreas Rumpf2018-03-312-47/+33
|
* Merge branch 'devel' of github.com:nim-lang/Nim into develAraq2018-03-302-26/+23
|\
| * fixes #7414 (#7434)cooldome2018-03-292-26/+23
| |
* | further steps in implementing sink parameters; refs #7041Araq2018-03-308-20/+167
|/
* added toOpenArray builtin for zero-copy slices; syntax sugar yet to comeAraq2018-03-243-13/+44
|
* Static[T] fixes (#7333)zah2018-03-249-13/+89
| | | | | | | | | | | * fix the usage of unresolved static[T] parameters in proc signatures * fix tsametype and tmacrogenerics * Allow creating composite type classes with concepts and using them in type signatures * Allow integers to be used in ident concatenations * Support using imported C++ generic types in proc signatures * fixes #7230 * closes #7379 * re-enable some metatype tests
* make tests green againAndreas Rumpf2018-03-241-3/+8
|
* fixes the 'var T' checkingAndreas Rumpf2018-03-241-5/+2
|
* enforce 'var T' produces a view into the first parameter; refs #7373Andreas Rumpf2018-03-241-4/+7
|
* more checking for 'var T' as return type; refs #7373Andreas Rumpf2018-03-242-2/+37
|
* fixes #7392 (#7395)cooldome2018-03-231-0/+1
|
* Fixes #7363 (#7371)cooldome2018-03-201-2/+3
|
* better error messages for illegal capturesAraq2018-03-191-2/+6
|
* fixes #7364Araq2018-03-191-1/+1
|
* fixes #7331Araq2018-03-181-1/+2
|