summary refs log tree commit diff stats
path: root/compiler
Commit message (Collapse)AuthorAgeFilesLines
* compiler: Trim .nim files trailing whitespaceAdam Strzelecki2015-09-0432-570/+570
| | | | via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
* split os into os and ospaths parts; ospaths is available for NimScript; ↵Araq2015-09-042-1/+16
| | | | better NimScript support
* improvements for NimScript supportAraq2015-09-032-57/+60
|
* optimized writetrackingAraq2015-09-031-139/+149
|
* 'var T' doesn't imply escapingAraq2015-09-021-1/+1
|
* write tracking: leaner code; minor bug fixes (still unusable)Araq2015-08-311-85/+61
|
* first implementation of write tracking and escape analysis; still disabledAraq2015-08-315-21/+319
|
* Merge pull request #3242 from yglukhov/byvar-fixAndreas Rumpf2015-08-281-5/+23
|\ | | | | JS: Fixed passing byvar
| * Fixed passing byvarYuriy Glukhov2015-08-251-5/+23
| |
* | update Visual Studio command line flagsAraq2015-08-271-1/+1
| |
* | add msp430 cpu supportKeerthan Jaic2015-08-261-2/+3
| |
* | Merge pull request #3234 from petermora/mapAutoAutoAndreas Rumpf2015-08-251-5/+60
|\ \ | | | | | | extending metatype matching in sigmatch.nim
| * | extending metatype matching in sigmatch.nimPeter Mora2015-08-211-5/+60
| | |
* | | Merge pull request #3160 from r-ku/coroutinesAndreas Rumpf2015-08-254-2/+57
|\ \ \ | |_|/ |/| | Coroutines
| * | Merge branch 'devel' into coroutinesrku2015-08-2035-474/+851
| |\ \
| * | | cValidAssemblers -> const setrku2015-08-102-1/+7
| | | | | | | | | | | | | | | | Added assembler validity check
| * | | Added fasm (external assembler) support.rku2015-07-313-2/+49
| | | |
| * | | {.compile.} pragma accepts paths relative to file pragma is in.rku2015-07-311-0/+2
| | | |
* | | | tuple unpacking works in a non-var/let contextAraq2015-08-212-0/+34
| | | |
* | | | Merge pull request #3233 from yglukhov/parsefloat-js-magicAndreas Rumpf2015-08-211-0/+3
|\ \ \ \ | | | | | | | | | | Fixed nimParseBiggestFloat magic in JS
| * | | | Fixed nimParseBiggestFloat magic in JSYuriy Glukhov2015-08-211-0/+3
| | | | |
* | | | | Untyped pointers godegen changed. addr expression fixed.Yuriy Glukhov2015-08-212-1/+3
|/ / / /
* | | | implemented macros.getImplAraq2015-08-214-1/+11
| | | |
* | | | simplify nimscript.nimAraq2015-08-211-1/+1
| | | |
* | | | preparations for Nimble NimScript integrations; minor cleanupsAraq2015-08-184-3/+6
| | | |
* | | | cleanup destructor building for arrays; still doesn't workAraq2015-08-182-6/+2
| |/ / |/| |
* | | implements experimental new config system based on NimScriptAraq2015-08-168-16/+159
| | |
* | | VM: repl supports global variables properly"Araq2015-08-161-3/+3
| | |
* | | staticExec: redirect stderr to stdout so stderr is returned tooAraq2015-08-161-2/+2
| | |
* | | Give a nice error when no command is givenRyan Gonzalez2015-08-152-1/+4
| | |
* | | toplevel .closure procs are deprecatedAraq2015-08-141-0/+3
| | |
* | | 'parallel' now requires --experimental modeAraq2015-08-141-0/+2
| | |
* | | Merge pull request #3204 from yglukhov/debugger-on-fixAndreas Rumpf2015-08-142-7/+6
|\ \ \ | | | | | | | | Fixed --debugger:on option. Removed c_line from termios.
| * | | Fixed --debugger:on option. Removed c_line from termios.Yuriy Glukhov2015-08-122-7/+6
| | |/ | |/|
* | | Merge pull request #3177 from zah/generic-types-in-macrosAndreas Rumpf2015-08-145-41/+120
|\ \ \ | |/ / |/| | Generic types in macros
| * | Disable the new generic params handling for immediate template and macrosZahary Karadjov2015-08-023-6/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since immediate templates are not subjected to the standard sigmatching algorithm, they will have a number of deficiencies when it comes to generic params: Type dependencies between the parameters won't be honoured and the bound generic symbols won't be resolvable within their bodies. We could try to fix this, but it may be wiser to just deprecate immediate templates and macros now that we have working untyped parameters. Disabling the new features is admittedly not the greatest way to handle this situations as it introduces inconsistency in the language, but at least it makes the code backwards-compatible with the previous version of the compiler instead of triggering more serious problems.
| * | fix #1858 again; restores the support for static macro paramsZahary Karadjov2015-08-025-41/+105
| | |
* | | fixes #1965Araq2015-08-101-2/+2
| | |
* | | fixes #3066Araq2015-08-091-0/+3
| | |
* | | fixes #3096Araq2015-08-091-2/+3
| | |
* | | refs #2377Araq2015-08-091-0/+2
| | |
* | | fixes #1329Araq2015-08-091-0/+2
| | |
* | | fixes #2752Araq2015-08-091-3/+4
| | |
* | | fixes #2670Araq2015-08-081-4/+19
| | |
* | | Merge pull request #3190 from yglukhov/fix-3186Andreas Rumpf2015-08-081-1/+1
|\ \ \ | | | | | | | | Fixes #3186
| * | | Fixes #3186Yuriy Glukhov2015-08-071-1/+1
| | | |
* | | | attempt to fix bootstrapping; refs #3139Araq2015-08-071-0/+1
| | | |
* | | | breaking change: symbol lookups in generics follows spec more closely; fixes ↵Araq2015-08-071-61/+63
| | | | | | | | | | | | | | | | #2664
* | | | fixes #3192Araq2015-08-072-2/+2
|/ / /
* | | Fixes #3185Yuriy Glukhov2015-08-061-1/+1
| | |
pan class="w"> DEF_BWLX(smov) DEF_BWLX(scas) DEF_BWLX(ssca) DEF_BWLX(stos) DEF_BWLX(ssto) /* generic asm ops */ #define ALT(x) #define DEF_ASM_OP0(name, opcode) DEF_ASM(name) #define DEF_ASM_OP0L(name, opcode, group, instr_type) #define DEF_ASM_OP1(name, opcode, group, instr_type, op0) #define DEF_ASM_OP2(name, opcode, group, instr_type, op0, op1) #define DEF_ASM_OP3(name, opcode, group, instr_type, op0, op1, op2) #ifdef TCC_TARGET_X86_64 # include "x86_64-asm.h" #else # include "i386-asm.h" #endif #define ALT(x) #define DEF_ASM_OP0(name, opcode) #define DEF_ASM_OP0L(name, opcode, group, instr_type) DEF_ASM(name) #define DEF_ASM_OP1(name, opcode, group, instr_type, op0) DEF_ASM(name) #define DEF_ASM_OP2(name, opcode, group, instr_type, op0, op1) DEF_ASM(name) #define DEF_ASM_OP3(name, opcode, group, instr_type, op0, op1, op2) DEF_ASM(name) #ifdef TCC_TARGET_X86_64 # include "x86_64-asm.h" #else # include "i386-asm.h" #endif