summary refs log tree commit diff stats
path: root/compiler/jsgen.nim
Commit message (Collapse)AuthorAgeFilesLines
* options.nim: no global variables anymoreAndreas Rumpf2018-05-131-3/+3
|
* the remaining passes all compile againAndreas Rumpf2018-05-131-76/+79
|
* refactoring: make FileIndex a distinct type; make line information an ↵Andreas Rumpf2018-04-211-1/+1
| | | | uint16; fixes #7654
* Remove PHP backend. (#7606)treeform2018-04-181-408/+154
| | | | | | | | | | * remove php * fix * keep nimphpext * remove targetJS enum
* the new feature's name is hotCodeReloadingAndreas Rumpf2018-04-131-3/+3
|
* fixes #4470Andreas Rumpf2018-04-131-0/+2
|
* Support code hot reloading for JavaScript projects (#7362)zah2018-04-131-24/+52
| | | | | | | | | | | | | | | | | | | | | | * Support code hot reloading for JavaScript projects * Add some missing JavaScript symbols and APIs * fix the Travis build * (review changes) remove the js type from the standard library as it doesn't follow NEP-1 * more additions to the DOM module * Follow NEP-1 in jsffi; spell 'hot code reloading' correctly * introduce a jscore module * Document jscore module. * readded js type * Remove the '$' operator that doesn't behave
* introduce nkTupleConstr AST node for unary tuple construction; breaking changeAndreas Rumpf2018-04-131-4/+4
|
* move new sha1 module into the new 'std' namespaceAndreas Rumpf2018-02-061-1/+1
|
* fixes #6961Andreas Rumpf2018-02-021-1/+1
|
* Fixes codegen bug with literal negative zero, fixes #7079 (#7158)GULPF2018-01-311-5/+11
| | | | | | * Fixes #7079 * Fix handling of neg zero during constant folding
* fixes #7129Andreas Rumpf2018-01-301-3/+3
|
* JS codegen bugfix: don't crash on wrong importcpp patternsAndreas Rumpf2018-01-251-0/+3
|
* preparations for language extensions: 'sink' and 'lent' typesAndreas Rumpf2018-01-071-17/+19
|
* jsgen: bool genConv generates boolean values instead of numeric (#7016)qqquinta2018-01-031-2/+2
|
* first steps in adding template/macro calls to stack tracesAraq2017-12-211-0/+2
|
* make JS tests green againAraq2017-12-151-1/+1
|
* Implement codegenDecl for js (#6851)Alexander Ivanov2017-12-011-11/+33
|
* fixes #6445 (concepts for the JS target)Andreas Rumpf2017-11-221-3/+4
|
* fixes #6568Andreas Rumpf2017-11-221-1/+1
|
* fixes #6753Andreas Rumpf2017-11-181-4/+4
|
* fixes #6532 array bounds check for non zero based arrays on the js backend ↵skilchen2017-11-061-1/+1
| | | | (#6550)
* deprecated unary '<'Andreas Rumpf2017-10-291-3/+3
|
* first steps of making 'opt' a first class type for NimAndreas Rumpf2017-09-251-1/+1
|
* some work to make 'opt' a first class typeAndreas Rumpf2017-09-241-5/+5
|
* first implementation of the 'func' keywordAndreas Rumpf2017-09-231-4/+4
|
* fixes #6096Araq2017-07-171-1/+1
|
* fixes a JS codegen regressionAndreas Rumpf2017-07-101-3/+23
|
* fixes #5608Andreas Rumpf2017-07-091-0/+4
|
* fixes #6035Araq2017-06-301-1/+1
|
* fixes #5517Andreas Rumpf2017-06-301-0/+2
|
* fixes #5974Andreas Rumpf2017-06-291-4/+8
|
* fixes #5563Andreas Rumpf2017-06-291-3/+3
|
* fixes #4703Andreas Rumpf2017-06-291-1/+10
|
* JS gen: fixes regressionAndreas Rumpf2017-06-261-7/+15
|
* fixes #5933Andreas Rumpf2017-06-031-2/+17
|
* fixes #4139Andreas Rumpf2017-06-031-8/+15
|
* review and merge zahary's work (#5849)zah2017-06-031-128/+189
| | | | | | | | | * proper indentation for the generated JS code * improved dead-code elimination for JavaScript * test the JS dead-code elimination A new test spec has been added - "maxcodesize". It specifies the maximum size of the generated code in bytes.
* Fixed const sets in JS (#5790)Yuriy Glukhov2017-05-101-1/+0
|
* JS codegen: produce better code for constant setsAndreas Rumpf2017-05-011-2/+8
|
* js codegen: emit more line informationAndreas Rumpf2017-04-261-12/+14
|
* Implementing `repr` for JS (#5578)Silvio2017-03-311-9/+43
|
* Merge remote-tracking branch 'origin/concepts-rebased' into araqAndreas Rumpf2017-03-311-0/+2
|\
| * introduce tyInferred for the unbound concept type paramsZahary Karadjov2017-03-241-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Why is tyInferred needed? The bindings in TCandidate are capable of inferring types within a single call expression. In concepts, we need to infer types in the same way, but across the whole body of the concept. Previously, once a concept type param was inferred, it was destructively mutated using t.assignType, but this proved to be problematic in the presence of overloads, because the bindings established while a non-matching overload is tested must be reverted/forgotten. tyInferred offers a non-destructive way to keep track of the inference progress. While introducing new types usually requires a lot of code paths in the compiler to updated, currently tyInferred is only a short-lived type within the concept body pass and it's unlikely to introduce breakage elsewhere in the compiler.
* | added a codegen noteAndreas Rumpf2017-03-291-0/+1
|/
* Fixes #5062 (#5527); JS: holes in enumsSilvio2017-03-151-9/+1
|
* Merge branch 'devel' into faster-nimsuggestAndreas Rumpf2017-02-241-1/+1
|\
| * removed compiler internal list implementation (#5371)Arne Döring2017-02-221-1/+1
| |
* | big compiler refactoring; avoid globals for multi method dispatcher generationAndreas Rumpf2017-02-221-4/+4
|/
* made nodecl implicit for vars in the js backend. (#5297)Michael Jendrusch2017-01-291-1/+1
|