summary refs log tree commit diff stats
path: root/compiler
Commit message (Collapse)AuthorAgeFilesLines
* --gc:destructors: hello world example compiles and runsAraq2018-11-163-2/+12
|
* fixes #9692Araq2018-11-151-3/+6
|
* Converter bug fixes (#9700)cooldome2018-11-153-2/+11
| | | | | * Fixes #9698 * Fixes #9699
* Of operator in vm fixes [backport] (#9717)cooldome2018-11-155-7/+14
| | | | | | * fixes #9701 * fixes #9702 * optimize of statement to bool
* nimfind: improvementsAndreas Rumpf2018-11-151-0/+2
|
* added first version of a nimfind tool for the poor souls that don't have a ↵Andreas Rumpf2018-11-1410-52/+98
| | | | good nimsuggest integretation
* nimpretty: explicit --indent option; fixes #9502; refs #9510 [backport]Andreas Rumpf2018-11-113-12/+17
|
* nimpretty: fixes #9673 [backport]Andreas Rumpf2018-11-111-1/+1
|
* deprecated ospaths (#9665)Andreas Rumpf2018-11-094-5/+6
|
* feedback injectedArne Döring2018-11-083-4/+3
|
* fix #8011Arne Döring2018-11-082-1/+7
|
* fix #8335Arne Döring2018-11-081-0/+2
|
* fix #9319Arne Döring2018-11-081-0/+2
|
* NaN fixes for clang backend (#9652)Arne Döring2018-11-081-6/+1
|
* er... 'a not b' is an infix callAndreas Rumpf2018-11-081-1/+1
|
* fixes parsing regressions; binary 'not' for 'not nil' must stayAndreas Rumpf2018-11-081-2/+17
|
* fixes #9633Andreas Rumpf2018-11-081-5/+8
|
* parser change: 'not' is always a unary operator; fixes #9574Andreas Rumpf2018-11-071-1/+1
|
* Simplify cgen forward proc (#9635)Jacek Sieka2018-11-072-71/+24
| | | | | | | | | | * cgen: remove module resetting (unused) * cgen: keep single list of forwarded modules fewer counters to keep track of * cgen: fix module lookup
* parser/grammar sync; fixes #9608 [backport]Andreas Rumpf2018-11-071-1/+1
|
* nim check fix; fixes #9609 [backport]Andreas Rumpf2018-11-071-7/+8
|
* make Nim take roughly 100MB less RAM for bootstrapping via a new compiler ↵Andreas Rumpf2018-11-077-63/+107
| | | | switch -d:leanCompiler; useful for the Raberry PI
* fixes #9600 (#9601)jcosborn2018-11-071-1/+4
|
* Nimscript: fixes #9246 [backport]Andreas Rumpf2018-11-065-2/+6
|
* VM: don't inject destructor calls, refs #7041Andreas Rumpf2018-11-063-22/+26
|
* compiler cleanup: flag tfOldSchoolExprStmt is goneAraq2018-11-064-13/+3
|
* removed the undocumented #? strongSpaces parsing modeAraq2018-11-062-18/+12
|
* language cleanup: the .unchecked pragma is deadAraq2018-11-067-25/+19
|
* make `mod` on floats available in the VM (#9591)skilchen2018-11-051-1/+5
| | | | | | * make `mod` on floats available in the VM * add testcase * removed no longer needed imports
* fixes #9611Andreas Rumpf2018-11-031-2/+1
|
* produce more helpful error messages when overloading resolution failsAndreas Rumpf2018-11-033-8/+15
|
* fixes #9610Andreas Rumpf2018-11-031-17/+13
|
* Fixes #9556 (#9604) [backport]Neelesh Chandola2018-11-021-3/+6
|
* destructors; fixes #9594Araq2018-11-021-2/+12
|
* Added "typeof" and "restrict" to special words. (#9226)Alexandros Naskos2018-11-011-4/+4
| | | | | * Added "typeof" and "restrict" to special words. * Added C and C++ reserved keyword as object field identifier test
* Fixes https://github.com/nim-lang/Nim/issues/6836 (#9595)Neelesh Chandola2018-11-011-2/+2
|
* Quote do now works with result in block (#7343)PMunch2018-10-311-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix result not being able to use in quote do This fixes the annoying issue of not be able to use result inside a quote do block. It works by a simple trick. The quote do mechanic is based on dynamically creating a template and immediately calling it with the arguments found within the quote do block. Since this is called in the scope of the macro the result variable is shadowed. This trick works by changing all occurences of result (which shouldn't cause any issues as result isn't used for anything else for the same reason) to another name and then passing in an IdentNode with result as a named parameter with that name. Note that currently this just replaces it with a fixed named variable "res" which should be changed to a non-colliding, dynamically created name. * Fix hard coded parameter "res" to anonymous symbol This fixes the hard coded parameter "res" to be an anonymous symbol instead so it won't collide with other parts of the argument list. * Add test case for result in quote do block A simple test case based on GitHub issue #7323 on how you can't put result in a quote do block. This test verifies that it actually works correctly now. * Add test for explicit capturing of result * Rebased against devel
* Merge pull request #9511 from krux02/krux02-develArne Döring2018-10-313-9/+22
|\ | | | | Krux02 devel
| * undo try breakArne Döring2018-10-301-4/+5
| |
| * fixes #5549Arne Döring2018-10-301-9/+9
| |
| * set code ownerArne Döring2018-10-301-0/+9
| |
| * fix compiler crashArne Döring2018-10-301-1/+4
| |
* | Change documentation details (closes #5525) (#9542)Miran2018-10-311-1/+1
| |
* | docgen: fixes #9432 [backport]Araq2018-10-311-0/+20
| |
* | docgen: make tests green again [backport]Araq2018-10-301-1/+1
| |
* | docgen: fixes #9235 [backport]Araq2018-10-301-1/+0
| |
* | docgen: fixes #9169 [backport]Araq2018-10-301-24/+15
| |
* | make tmissingbracket compile for C++; refs #7870Araq2018-10-301-1/+1
| |
* | Sizeof alignof fixes (#9568)Arne Döring2018-10-301-1/+1
| | | | | | | | | | fixes #9545
* | fixes #5549Araq2018-10-301-15/+16
| |