Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | cString => cSourceString; tyCString => tyCstring so that error msgs show ↵ | Timothee Cour | 2021-04-17 | 1 | -1/+1 |
| | | | | cstring, not cString (#17744) | ||||
* | `import foo {.all.}` reboot (#17706) | Timothee Cour | 2021-04-16 | 1 | -0/+1 |
| | |||||
* | IC: bugfixes (WIP) (#16836) | Andreas Rumpf | 2021-02-02 | 1 | -0/+2 |
| | | | | | | | | * minor improvements * IC: added the required logic for compilerProcs * LazySym ftw * we need this testing logic * reimplement the old way we use for module package creation * fixes a regression; don't pick module names if you can avoid it | ||||
* | remove conditionals on nimHasUserErrors, nimNoNilSeqs2, nimNoNilSeqs (#16861) | Timothee Cour | 2021-01-29 | 1 | -2/+0 |
| | | | | | | | | | * cleanup docs for type(nil) | type(nil); simplify nimHasUserErrors * simplify nimNoNilSeqs2 * simplify nimNoNilSeqs * fixup | ||||
* | IC: next steps (#16705) | Andreas Rumpf | 2021-01-14 | 1 | -50/+0 |
| | | | | | | | | | | | * code cleanups * refactorings for IC * more refactorings for IC * IC: attach the 'nil' type to its module * IC: refactorings and improvements * IC: progress * IC: more serialization fixes * IC: embarrassing omission * code cleanups | ||||
* | IC: next steps (#16550) | Andreas Rumpf | 2021-01-07 | 1 | -5/+2 |
| | | | | | | | | | | | | | | | | | | * cleanups * ast.nim: cleanups * IC: no more sym.tab field, stored externally in the module graph * nimble compiles again * rodfiles: store bitwidth of integers and the endianness in the cookie because we serialize 'int' directly * rodfiles: added compilerproc and export sections * rodfiles: added all the missing sections * rodfiles: track the missing information * IC: architecture for lazy loading of proc bodies * make tests green again * completed the lazy loading of proc bodies * symbol lookup integration, part 1 * symbol lookup integration, part 2 * symbol lookup integration, part 3 * make tcompilerapi work again * rodfiles: fixed config change handling | ||||
* | big steps torwards an efficient, simple IC implementation (#16543) | Andreas Rumpf | 2021-01-02 | 1 | -8/+8 |
| | | | | | | | | | | | | | | | | | | | * reworked ID handling * the packed AST now has its own ID mechanism * basic serialization code works * extract rodfiles to its own module * rodfiles: store and compare configs * rodfiles: store dependencies * store config at the end * precise dependency tracking * dependency tracking for rodfiles * completed loading of PSym, PType, etc * removed dead code * bugfix: do not realloc seqs when taking addr into an element * make IC opt-in for now * makes tcompilerapi green again * final cleanups Co-authored-by: Andy Davidoff <github@andy.disruptek.com> | ||||
* | explicit ID generation for easier IC (#15559) | Andreas Rumpf | 2020-10-25 | 1 | -15/+15 |
| | | | | | | | | | | | | | | | | | * refactoring: idents don't need inheritance * refactoring: adding an IdGenerator (part 1) * refactoring: adding an IdGenerator (part 2) * refactoring: adding an IdGenerator (part 3) * refactoring: adding an IdGenerator (part 4) * refactoring: adding an IdGenerator (part 5) * refactoring: adding an IdGenerator (part 5) * IdGenerator must be a ref type; hello world works again * make bootstrapping work again * progress: add back the 'exactReplica' ideas * added back the missing exactReplica hacks * make tcompilerapi work again * make important packages green * attempt to fix the build for 32 bit machines (probably need a better solution here) | ||||
* | Implements RFCs #209 (#13995) | cooldome | 2020-04-16 | 1 | -0/+25 |
| | | | | | * add test * add changelod entry Co-authored-by: cooldome <ariabushenko@bk.ru> | ||||
* | miscellaneous bug fixes (part 3) (#13304) | Timothee Cour | 2020-02-07 | 1 | -2/+4 |
| | | | | | | | | | | * fix deprecation; fix indentation * git clone: use -q * fix Warning: pragma before generic parameter list is deprecated; fix typo * bugfix: sysTypeFromName("float64") was never cached | ||||
* | Cosmetic compiler cleanup (#12718) | Clyybber | 2019-11-28 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | * Cleanup compiler code base * Unify add calls * Unify len invocations * Unify range operators * Fix oversight * Remove {.procvar.} pragma * initCandidate -> newCandidate where reasonable * Unify safeLen calls | ||||
* | [refactoring] remove unused imports in the compiler and in some stdlib modules | Araq | 2019-07-18 | 1 | -1/+1 |
| | |||||
* | even more strict isNil handling for strings/seqs in order to detect bugs | Araq | 2018-08-22 | 1 | -1/+2 |
| | |||||
* | baby steps for incremental compilation | Andreas Rumpf | 2018-05-30 | 1 | -10/+1 |
| | |||||
* | refactoring: remove idents.legacy global variable and pass the IdentCache ↵ | Andreas Rumpf | 2018-05-27 | 1 | -15/+5 |
| | | | | around explicitly | ||||
* | remove more global variables in the Nim compiler | Andreas Rumpf | 2018-05-27 | 1 | -1/+1 |
| | |||||
* | make tests green again | Andreas Rumpf | 2018-05-18 | 1 | -1/+1 |
| | |||||
* | platform.nim doesn't use globals anymore; prepare msgs.nim for not using globals | Andreas Rumpf | 2018-05-18 | 1 | -2/+2 |
| | |||||
* | options.nim: no global variables anymore | Andreas Rumpf | 2018-05-13 | 1 | -2/+2 |
| | |||||
* | sem pass compiles again | Andreas Rumpf | 2018-05-12 | 1 | -3/+6 |
| | |||||
* | big refactoring: magicsys compiles again | Andreas Rumpf | 2018-05-10 | 1 | -93/+86 |
| | |||||
* | make tests green again | Araq | 2016-11-01 | 1 | -1/+1 |
| | |||||
* | refactoring complete: explicit ident cache | Araq | 2016-10-31 | 1 | -0/+4 |
| | |||||
* | big refactoring: step 1 | Araq | 2016-10-31 | 1 | -0/+4 |
| | |||||
* | fixes #4295 | Andreas Rumpf | 2016-06-07 | 1 | -5/+9 |
| | |||||
* | added undocumented exportNims pragma for Nimscript support | Araq | 2015-10-03 | 1 | -16/+22 |
| | |||||
* | compiler: Trim .nim files trailing whitespace | Adam Strzelecki | 2015-09-04 | 1 | -13/+13 |
| | | | | via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} + | ||||
* | implemented 'guard' annotation | Araq | 2014-09-21 | 1 | -1/+1 |
| | |||||
* | the big renamefest: first steps | Araq | 2014-08-22 | 1 | -5/+7 |
| | |||||
* | some progress for jester+async | Araq | 2014-06-27 | 1 | -0/+2 |
| | |||||
* | case consistency: cs:partial bootstraps on windows | Araq | 2013-12-29 | 1 | -1/+1 |
| | |||||
* | case consistency: next steps | Araq | 2013-12-29 | 1 | -1/+1 |
| | |||||
* | case consistency part 4 | Araq | 2013-12-27 | 1 | -7/+7 |
| | |||||
* | case consistency part 1 | Araq | 2013-12-27 | 1 | -9/+8 |
| | |||||
* | fixes #578 | Araq | 2013-08-30 | 1 | -1/+1 |
| | |||||
* | float64 is now an alias to 'float'; fixes #545 | Araq | 2013-08-30 | 1 | -4/+9 |
| | |||||
* | implemented large parts of the 'not nil' checking | Araq | 2013-06-09 | 1 | -1/+15 |
| | |||||
* | get rid of ImportTablePos and ModuleTablePos | Zahary Karadjov | 2013-05-12 | 1 | -2/+0 |
| | |||||
* | Removes executable bit for text files. | Grzegorz Adam Hankiewicz | 2013-03-16 | 1 | -0/+0 |
| | |||||
* | small improvements | Araq | 2013-02-27 | 1 | -1/+4 |
| | |||||
* | temporary debugging code for the memory leak investigation | Zahary Karadjov | 2012-11-28 | 1 | -0/+9 |
| | |||||
* | exception tracking barely works; but disabled | Araq | 2012-10-31 | 1 | -1/+1 |
| | |||||
* | 'addSon' for types deprecated for 'int literal type' analysis | Araq | 2012-07-09 | 1 | -0/+10 |
| | |||||
* | changed integer promotion rules; breaks bootstrapping and lots of code | Araq | 2012-07-08 | 1 | -14/+41 |
| | |||||
* | changed integer promotion rules; added math.fmod | Araq | 2012-06-28 | 1 | -2/+21 |
| | |||||
* | better support for unsigned integers. | Zahary Karadjov | 2012-06-11 | 1 | -0/+6 |
| | |||||
* | year 2012 for most copyright headers | Araq | 2012-01-02 | 1 | -1/+1 |
| | |||||
* | got rid of nstrtabs and nhashes modules | Araq | 2011-06-10 | 1 | -3/+3 |
| | |||||
* | big repo cleanup | Araq | 2011-04-12 | 1 | -0/+87 |