summaryrefslogtreecommitdiff
path: root/module/language/js-il/compile-javascript.scm
AgeCommit message (Collapse)AuthorFilesLines
2017-08-28Update Copyright HeadersIan Price1-0/+20
* module/Makefile.am: * module/language/cps/compile-js.scm: * module/language/cps/spec.scm: * module/language/javascript.scm: * module/language/javascript/spec.scm: * module/language/js-il.scm: * module/language/js-il/compile-javascript.scm: * module/language/js-il/inlining.scm: * module/language/js-il/runtime.js: Update copyright headers
2017-08-27Keywords cannot be both keyword and optionalIan Price1-2/+46
* module/language/js-il/compile-javascript.scm (compile-jump-table, bind-opt-kw-args): Keywords should not be parsed as optional arguments when both are present.
2017-08-09Add `guild jslink' to bundle JS programsIan Price1-11/+10
* module/Makefile.am (SOURCES): Install runtime.js and jslink.scm * module/language/js-il/compile-javascript.scm (compile-exp): Compilation units take a continuation to facilitate linking. * module/scripts/jslink.scm: New script.
2017-06-20Compile Syntax Objects to JavascriptIan Price1-0/+8
* module/language/js-il/compile-javascript.scm (compile-const): Handle the new syntax object struct. * module/language/js-il/runtime.js(scheme.Syntax): Add Syntax Object type
2017-06-15Add #:js-inline? and #:js-flatten? debugging optionsIan Price1-2/+6
* module/language/js-il/compile-javascript.scm (compile-javascript): Check for #:js-inline? and #:js-flatten?, and turn off inline-single-calls and flatten-blocks respectively.
2015-06-24Explicitly test for undefined arguments to handle false values like 0Ian Price1-4/+7
2015-06-23Handle more identifier charactersIan Price1-1/+10
2015-06-22Change local type representation and remove var typeIan Price1-5/+7
2015-06-22Change function type representationIan Price1-8/+12
2015-06-22Change program type representationIan Price1-3/+11
2015-06-22Rewrite js-il inlinerIan Price1-2/+2
2015-06-22Different types for Continuation and Variable identifiersIan Price1-30/+52
2015-06-18Compile cps $prompt form to javascriptIan Price1-0/+9
2015-06-18Implement keyword argument parsingIan Price1-6/+39
2015-06-18Simplify output JavascriptIan Price1-1/+4
2015-06-18Add more types of constantsIan Price1-0/+23
2015-06-18Implement Optional argumentsIan Price1-6/+48
2015-06-18Remove superfluous spaceIan Price1-1/+1
2015-06-18Handle case-lambda via a jump tableIan Price1-6/+49
2015-06-18Mangle js identifiersIan Price1-2/+35
2015-06-18Compile string constantsIan Price1-0/+5
2015-06-18Compile rest argsIan Price1-2/+21
2015-06-18conditional->branchIan Price1-4/+4
2015-06-18Simple inlining of immediate callsIan Price1-0/+2
2015-06-18separate js-il functions into actual functions and those for continuationsIan Price1-2/+1
2015-06-18Remove jscall typeIan Price1-3/+0
2015-06-18Replace values object with values passed as continuation argumentsIan Price1-7/+2
2015-06-18Temp commitIan Price1-0/+104