summary refs log tree commit diff stats
path: root/lib/js/jsffi.nim
Commit message (Collapse)AuthorAgeFilesLines
* js: improve tests + some docs (#16727)Timothee Cour2021-01-161-0/+1
| | | | | | | | | | | * js: improve tests * _ * _ * _ * fixup
* clean up the docs of some modules under lib/js (#16579)flywind2021-01-041-34/+34
|
* big steps torwards an efficient, simple IC implementation (#16543)Andreas Rumpf2021-01-021-2/+2
| | | | | | | | | | | | | | | | | | | * 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>
* styleCheck: Fix some inconsistent identifiers (#16177)ee72020-12-211-2/+2
|
* js module also uses runnableExamples (#16229)flywind2020-12-021-28/+23
|
* add `**` to jsffi (#16141)flywind2020-11-261-0/+1
| | | | | | | | | | | | | | | * fix rope index * add testcase * fix ropes format * add `**` to jsffi * add testcase * changelog Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* proc params as syms (#15332)cooldome2020-09-161-1/+9
| | | | | | | | | | | | | | | | | * proc params are now syms * Fix typesrenderer * Add testcase for disrupteks issue * fix test * Trigger build * Trigger build * Trigger build Co-authored-by: Clyybber <darkmine956@gmail.com>
* Fixes #14110 (#14111)Jae Yang2020-04-251-1/+1
| | | Fixes jsffi usage example in doc
* changed type() to typeof() in docs and error messages (#14084)hlaaftana2020-04-241-1/+1
|
* JS: gensym is stricter for 'this'; refs #12246 [backport]Araq2019-09-301-1/+1
|
* importjs symbol (#12218)Arne Döring2019-09-201-4/+4
| | | | | * importjs symbol * importjs warning message, minor warning fixes
* libffi: style changesAraq2019-06-191-50/+50
|
* Support undefined in isNil (#9960)Alexander Ivanov2018-12-301-0/+6
|
* Support only some types as JsAssoc types (#8627)Alexander Ivanov2018-11-231-33/+34
|
* Try/Catch support for native JS exceptions (#8955)LemonBoy2018-10-091-0/+11
| | | | | | * Try/Catch support for native JS exceptions * Better tests
* Replace NotString with typeclass in jsffi (#8128)hlaaf2018-06-271-4/+2
|
* Support code hot reloading for JavaScript projects (#7362)zah2018-04-131-6/+18
| | | | | | | | | | | | | | | | | | | | | | * 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
* language change: change how the experimental dot operators workAndreas Rumpf2017-11-291-11/+11
|
* make tests green againAndreas Rumpf2017-09-261-3/+3
|
* Restore the old behavior of parsing "quote do:"Zahary Karadjov2017-08-191-4/+3
| | | | close #5845
* allow StmtLists to pass through semExprWithTypeZahary Karadjov2017-04-111-4/+1
| | | | | | This fix was necessary in order to fix the lambda lifting used in the "jsffi" module, which relies on turning nkStmtList into nkLambda in a catch-all dot operator.
* lift parameter-less do block to lambdasZahary Karadjov2017-04-101-2/+8
|
* improve the usability of the jsffi moduleZahary Karadjov2017-04-091-6/+56
| | | | | | * All JavaScript operators are usable with JsObject * The dot operators will use native JavaScript strings * Results returned from dot calls are consired discardable
* Implement RFC #4873 improvements to JavaScript FFI (#5213)Michael Jendrusch2017-01-261-0/+436