Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fixes #12488 [backport] | Araq | 2019-11-28 | 1 | -0/+17 |
| | |||||
* | VM: improvements for var T/addr (#12667); fixes #12489 | Andreas Rumpf | 2019-11-28 | 3 | -3/+113 |
| | |||||
* | fixes #12670 [backport] (#12693) | Andreas Rumpf | 2019-11-20 | 1 | -0/+20 |
| | |||||
* | fixes #12310 [backport] (#12470) | Andreas Rumpf | 2019-10-20 | 1 | -0/+14 |
| | |||||
* | fixes #12244 [backport] | Araq | 2019-10-10 | 1 | -0/+20 |
| | |||||
* | Fixes #10514 (#12268) | Clyybber | 2019-09-28 | 1 | -0/+15 |
| | | | | | | | | | | * Fixes #10514 (cherry picked from commit f6f789bb4db2a367384ba6ad75706edd503de1f8) * Add comment * Add changelog entry | ||||
* | Fix spellings (#12277) [backport] | Federico Ceratto | 2019-09-27 | 1 | -1/+1 |
| | |||||
* | fixes #10981; fixes #7261 (#12217) | Andreas Rumpf | 2019-09-19 | 1 | -0/+99 |
| | |||||
* | rename cast opcodes, fix for 32bit cast, fix python pretty printer (#12207) | Arne Döring | 2019-09-18 | 1 | -0/+13 |
| | |||||
* | fixes the testcase | Araq | 2019-09-17 | 1 | -2/+1 |
| | |||||
* | added a testcase for #12195; testament now supports a 'timeout' spec field | Araq | 2019-09-17 | 1 | -0/+31 |
| | |||||
* | allows access to .compileTime vars at runtime (#12128) | Andreas Rumpf | 2019-09-05 | 1 | -1/+10 |
| | |||||
* | makes more tests green | Andreas Rumpf | 2019-09-02 | 1 | -2/+2 |
| | |||||
* | makes test green again | Araq | 2019-09-02 | 1 | -3/+3 |
| | |||||
* | fixes #11903 (#11908) | Arne Döring | 2019-08-31 | 1 | -0/+13 |
| | |||||
* | int128 on firstOrd, lastOrd and lengthOrd (#11701) | Arne Döring | 2019-08-07 | 1 | -1/+1 |
| | | | | * fixes #11847 | ||||
* | fixes #9829 (#11849) | Arne Döring | 2019-08-04 | 1 | -0/+15 |
| | |||||
* | VM exception fixes (#11868) | Oscar Nihlgård | 2019-08-02 | 1 | -0/+14 |
| | |||||
* | Fix VM conversion to var type [bugfix] (#11866) | Oscar Nihlgård | 2019-08-01 | 1 | -0/+5 |
| | |||||
* | fixes tcompiletimerange [bugfix] (#11720) | Andreas Rumpf | 2019-07-12 | 1 | -5/+4 |
| | |||||
* | [bugfix] VM: finally do inheritance properly | Araq | 2019-07-12 | 1 | -10/+24 |
| | |||||
* | fixes #11610 (#11659) | Andreas Rumpf | 2019-07-05 | 1 | -2/+14 |
| | |||||
* | VM can now cast integer type arbitrarily. (#11459) [feature] | Arne Döring | 2019-06-10 | 1 | -0/+128 |
| | |||||
* | make megatest work with 'koch boot -d:release' too | Araq | 2019-06-05 | 1 | -0/+4 |
| | |||||
* | make fullpaths the default in error messages and stack traces for mor… ↵ | Andreas Rumpf | 2019-06-05 | 1 | -1/+1 |
| | | | | | | | | | | | | (#11385) * make fullpaths the default in error messages and stack traces for more convenient development * split up -d:release into -d:release and -d:danger flags * workaround a Nim config parser bug * fixes an old nim config parser bug * make megatest green again * make nimpretty tests work again * make nimsuggest green | ||||
* | close #8199 by adding a test | narimiran | 2019-05-29 | 1 | -0/+25 |
| | |||||
* | make tests green | narimiran | 2019-05-28 | 1 | -0/+1 |
| | |||||
* | tableinstatic test: make it arch-independed | narimiran | 2019-05-27 | 1 | -2/+1 |
| | |||||
* | Allow void macro result (#11286) | Arne Döring | 2019-05-21 | 3 | -5/+5 |
| | | | | | * allow void macro result * add test for void macro result type | ||||
* | Fixes #11045. Assigning a proc to const and invoking. (#11076) | Aditya Siram | 2019-05-04 | 1 | -0/+18 |
| | |||||
* | Compiler plugin for implementing incremental computation in user space (#10819) | cooldome | 2019-04-11 | 2 | -0/+47 |
| | | | | | | | | | | This plugin provides essential building block for implementing incremental computations in your programs. The idea behind incremental computations is that if you do the same calculation multiple times but with slightly different inputs you don't have to recompute everything from scratch. Also you don't want to adopt special algorithms either, you would like to write your code in standard from scratch manner and get incrementality for free when it is possible. The plugin computes the digest of the proc bodies, recursively hashing all called procs as well . Such digest with the digest of the argument values gives a good "name" for the result. Terminology loosely follows paper "Incremental Computation with Names" link below. It works well if you have no side effects in your computations. If you have global state in your computations then you will need problem specific workarounds to represent global state in set of "names" . SideEffect tracking in Nim also useful in this topic. Classical examples: Dashboard with ticking data. New data arrives non stop and you would like to update the dashboard recomputing only changed outputs. Excel spreadsheet where user changes one cell and you would like to recompute all cells that are affected by the change, but do not want to recompute every cell in the spreadsheet. | ||||
* | fixes #10886 [backport] (#10897) | Andreas Rumpf | 2019-03-23 | 1 | -0/+18 |
| | |||||
* | added system.default in order to prevent the abstraction inversion that ↵ | Andreas Rumpf | 2019-03-05 | 1 | -1/+26 |
| | | | | 'template default(T): untyped = (var x: T; x)' causes | ||||
* | disable compile-time FFI support | Andreas Rumpf | 2019-02-23 | 1 | -1/+1 |
| | |||||
* | FFI at CT (#10150) | Timothee Cour | 2019-02-23 | 1 | -0/+81 |
| | | | | | | * enable FFI at CT * rename useFFI=>nimHasLibFFI; improve formatting rawExecute traceCode * disable libffi on windows (works for win32, not yet win64) | ||||
* | 32 bit fixes (#10608) | Arne Döring | 2019-02-13 | 2 | -6/+11 |
| | |||||
* | Rework exception handling in the VM (#10544) | LemonBoy | 2019-02-08 | 1 | -0/+20 |
| | | | | | | | | | | | | | | | | | * Rework exception handling in the VM Make the safepoint handling more precise and less forgiving. The new code is clearer and more commented. Perform cleanup on `return`. The no-exception-thrown case in a try block should be slightly faster since we don't parse the whole set of exceptions every time. More tests. * Fix silly error that broke a few tests * Testament doesn't like files having the same name * Remove test case that failed compilation to js | ||||
* | Fix vm signed xor (#10519) | Arne Döring | 2019-02-01 | 1 | -5/+11 |
| | | | | | | | | | | * fix #10482 * undo changes * fix for bitwise not * remove dead opcode | ||||
* | vm fix for bitwise signed ints (#10507) | cooldome | 2019-01-31 | 1 | -0/+39 |
| | | | | | | | | * fixes #10482 * add missing file * bug fix | ||||
* | Harmonize the var/let and const handling (#10410) | LemonBoy | 2019-01-23 | 1 | -0/+11 |
| | | | Fixes #10333 | ||||
* | Fix compileTime pragma applying to whole var/let section (#10389) | Neelesh Chandola | 2019-01-22 | 1 | -0/+15 |
| | |||||
* | Object downconversion in VM should not copy (#10378) | LemonBoy | 2019-01-22 | 1 | -0/+17 |
| | | | | | | Hopefully the type-check phase already rejected all the invalid conversions by the time we execute the VM bytecode. Problem reported by chrisheller on the Nim Forum | ||||
* | Support system.reset in vm (#10400) | Oscar Nihlgård | 2019-01-21 | 1 | -0/+28 |
| | |||||
* | add `isNamedTuple`; make $(1, 2) be (1, 2) instead of (Field0: 1, Field1: 2) ↵ | Timothee Cour | 2019-01-08 | 1 | -8/+6 |
| | | | | | | | | | | | | | which leaked implementation detail (#10070) * add `isNamedTuple`; make $(1, 2) be (1, 2) instead of leaking implementation detail (Field0: 1, Field1: 2) fixes this: #8670 (comment) /cc @alehander42 @Vindaar @mratsim * Note: isNamedTuple is useful in other places, eg #10010 (comment) * move isNamedTuple to helpers.nim to avoid exposing new symbol to system.nim * remove workaround in tests/vm/tissues.nim failing test now that #10218 was makes it work | ||||
* | Check there are no side effects before optimizing away compile time ↵ | deech | 2018-12-31 | 1 | -0/+42 |
| | | | | expressions. (#9934) | ||||
* | add `getCurrentCompilerExe` to vmops (eg allows to get nim compiler at CT); ↵ | Timothee Cour | 2018-12-18 | 2 | -0/+49 |
| | | | | add tests for vmops (#9925) | ||||
* | Testament: refactoring; makes the test joiner green | Araq | 2018-12-11 | 1 | -2/+3 |
| | |||||
* | lots of small changes | Arne Döring | 2018-12-11 | 1 | -1/+1 |
| | |||||
* | megatest can be executed | Arne Döring | 2018-12-11 | 3 | -5/+20 |
| | |||||
* | require errormsg to be specified before file. | Arne Döring | 2018-12-11 | 2 | -4/+3 |
| |