summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* make tests green againAndreas Rumpf2018-05-1816-52/+65
|
* os.nim: don't use echo for error reportingAndreas Rumpf2018-05-181-1/+1
|
* make semantic checking free of globalsAndreas Rumpf2018-05-183-15/+15
|
* platform.nim doesn't use globals anymore; prepare msgs.nim for not using globalsAndreas Rumpf2018-05-1835-678/+538
|
* compiler/ropes.nim has no global error handler anymoreAndreas Rumpf2018-05-176-42/+48
|
* preparations of making compiler/msgs.nim free of global variablesAndreas Rumpf2018-05-1738-183/+179
|
* remove ast.emptyNode global; cleanup configuration.nimAraq2018-05-1629-312/+148
|
* ccgutils: code cleanup, no globalsAraq2018-05-161-108/+1
|
* extccomp: no globals anymoreAraq2018-05-167-111/+118
|
* Merge branch 'devel' into araq-big-refactoringAraq2018-05-151-0/+3
|\
| * fixes #7817Araq2018-05-141-0/+3
| |
* | documentation generator works againAndreas Rumpf2018-05-152-9/+9
| |
* | make tests green on UnixAndreas Rumpf2018-05-152-5/+6
| |
* | make tests green againAraq2018-05-1420-33/+33
| |
* | fixes testament compilationAraq2018-05-1441-338/+1026
|\|
| * Adds TextAreaElement type.Dominik Picheta2018-05-141-1/+7
| |
| * Adds onpopstate and proc related to Events to dom module.Dominik Picheta2018-05-141-0/+3
| |
| * Minor fixes to enable tccGanesh Viswanathan2018-05-143-4/+4
| |
| * Better db_sqlite errors when db_sqlite not connected.Dominik Picheta2018-05-131-0/+3
| |
| * Add connectUnix and bindUnix to net docsMathias Stearn2018-05-091-1/+1
| | | | | | fixes #7715
| * Modify hash for HashSet to use `xor` to mix hash of items.Lolo Iccl2018-05-092-9/+2
| |
| * Modify previous commit and add testsLolo Iccl2018-05-092-6/+57
| |
| * Modify previous commitLolo Iccl2018-05-091-4/+8
| | | | | | | | | | Modify previous commit to use data[h].hcode in proc hash for HashSet and for OrderedSet.
| * Add proc hash for HashSet and for OrderedSetLolo Iccl2018-05-091-0/+10
| | | | | | | | close #7772
| * Add nimble dir to path via finishGanesh Viswanathan2018-05-091-7/+20
| |
| * VM fix for refsOscar NihlgÄrd2018-05-082-2/+20
| |
| * Export an 'escapeXml' proc from xmldomZahary Karadjov2018-05-072-8/+15
| | | | | | | | The interface is similar to escapeJson
| * Fix the compilation of terminal.nim on WindowsZahary Karadjov2018-05-071-4/+1
| |
| * bugfix: strutils.find was broken for strings with uneven number of charsZahary Karadjov2018-05-071-248/+284
| | | | | | | | | | | | | | | | | | | | | | | | For some reason, the problem was manifesting only inside the VM, it was detecting an attempt to read past the string end (i.e. the formerly accessible null byte). To catch such errors, strutils now performs static tests too. I've solved the problem by re-implementing the Boyer-Moore algotihm in a cleaner way and I took the opportunity to make some other optimisations to strutils.
| * implement the export/except statementZahary Karadjov2018-05-076-7/+41
| |
| * Bugfix: The compiler were not inserting proper downcasts for generic typesZahary Karadjov2018-05-074-4/+25
| | | | | | | | | | | | | | This resulted in a codegen error in C++ mode, because the generic types were not defined in modules where calls requiring downcasts were used (generating a downcast forces the inclusion of the full definition of the involved types).
| * fix a compiler crash related to the new strings in C++ modeZahary Karadjov2018-05-072-9/+9
| |
| * The `terminal` module now exports additional procs for generating ANSI colorZahary Karadjov2018-05-072-21/+45
| | | | | | | | codes as strings.
| * Support thread-local variables declared inside procs; fixes #7565Zahary Karadjov2018-05-074-3/+85
| |
| * Backwards-compatible support for keyword arguments in the command syntaxZahary Karadjov2018-05-073-6/+18
| |
| * Bugfix: Allow matching on nkExprEqExpr against varargs[untyped]Zahary Karadjov2018-05-072-1/+17
| | | | | | | | | | | | | | | | | | This enables macros accepting arbitrary keyword arguments: log("foo", prop1 = "bar", prop2 = "baz") As an added bonus, simple templates with varargs arguments can now forward their params to procs accepting keyword arguments.
| * A motivating example for the new `bindSym` behavior.Zahary Karadjov2018-05-075-1/+160
| | | | | | | | | | | | | | | | The example is a proof-of-concept logging library, allowing you to define lexically-scoped environments where certain logging attributes are applied automatically to all logging statements. fixes tmacro1 (use of `bindSym` inside static blocks)
| * Better support for treating templates and macros as symbols.Zahary Karadjov2018-05-077-8/+202
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows you to pass a template or a macro to another macro which can then inspect the implementation of the former template/macro using `getImpl`. Since templates can be freely redefined, this allows you to treat their symbols as compile-time variables that have lexical scope. A motivating PoC example for a logging library taking advantage of this will be provided in the next commit. Implementation details: * The name of a template or a macro will be consider a symbol if the template/macro requires parameters * For parameterless templates/macros, you can use `bindSym`, which was extended to also work outside of compile-time procs.
| * pretty, prettybase: simplify relative paths (#7779)alaviss2018-05-072-2/+2
| | | | | | This allows nimble to be built with compiler as a nimble package
* | make nimsuggest compile againAndreas Rumpf2018-05-141-10/+10
| |
* | options.nim: no global variables anymoreAndreas Rumpf2018-05-1346-507/+509
| |
* | move more globals into the config objectAndreas Rumpf2018-05-136-93/+101
| |
* | make nimsuggest compile againAndreas Rumpf2018-05-137-89/+97
| |
* | bootstrapping worksAndreas Rumpf2018-05-131-1/+1
| |
* | compiler compiles again; simple programs do workAndreas Rumpf2018-05-134-158/+152
| |
* | the remaining passes all compile againAndreas Rumpf2018-05-138-117/+129
| |
* | C code generator compiles againAndreas Rumpf2018-05-1211-202/+208
| |
* | sem pass compiles againAndreas Rumpf2018-05-1212-263/+269
| |
* | semstmts compiles againAndreas Rumpf2018-05-126-198/+192
| |
* | more modules compile againAndreas Rumpf2018-05-1215-518/+544
| |