11 Commits (8b1999473b206b90f799cf153c1032ff48b22f46)

Author SHA1 Message Date
Sami Vaarala 3667b040a8 Reformat some source files with clang-format 3 years ago
Sami Vaarala 228525c2cd Use 'ECMAScript' spelling in misc places 7 years ago
Sami Vaarala 461261dc31 Use 'ECMAScript' spelling in src-input 7 years ago
Sami Vaarala 4cf68c86f7 Fixes to RegExp vs. division lexing 7 years ago
Sami Vaarala 8f38a00bf0 Some -Wsign-conversion fixes 7 years ago
Sami Vaarala e11753082f Use DUK_COMPILE_xxx flags are internally 8 years ago
Sami Vaarala cb1c8957d4 Add shebang comment parsing (on first line only) 8 years ago
Sami Vaarala 661f84a128 ES6 object literal id/method shorthand, dup keys 8 years ago
Sami Vaarala 39ecb8b7eb Source fixes for #ifdef and #ifndef convention 8 years ago
Sami Vaarala 8e5da76ee0 Improve _Varmap and _Formals dropping, initial bc 8 years ago
Sami Vaarala 96d301b3cb Rename src/ to src-input/ to match dist 8 years ago
Sami Vaarala 75c57ad6f4 Rework executor to use a single level dispatch 8 years ago
Sami Vaarala a804a2a630 Rename internal struct/define names 9 years ago
Sami Vaarala c96d5fc726 Tailcall -> tail call in src 9 years ago
Sami Vaarala 7ca3ed85fd Program vs. global code clarifications in src 9 years ago
Sami Vaarala 08c0457d80 Replace DUK_USE_DEEP_C_STACK with explicit limits 9 years ago
Sami Vaarala f9074b846d Rework compiler to avoid duk_hbuffer spare 10 years ago
Sami Vaarala c281a7e8a0 Rework pre/post inc/dec in compiler and executor 10 years ago
Sami Vaarala 869ac61514 Fix NEXTENUM jump slot shuffle issue 10 years ago
Sami Vaarala 5c22523ebf Add debugger support to core engine 10 years ago
Sami Vaarala 95057396af Source comment fixes for int key capitalization 10 years ago
Sami Vaarala 1fa66cd25a Symbol visibility changes for code and headers 10 years ago
Sami Vaarala ddd0619f78 Intermediate commit of compiler typing cleanup 10 years ago
Sami Vaarala 2f80307641 Miscellaneous typing work here and there 11 years ago
Sami Vaarala d6e7b66ea4 Change duk_js_compile() to use an explicit buffer 11 years ago
Sami Vaarala 8c292ccf58 Pack compilation arguments into a stack struct 11 years ago
Sami Vaarala c382af2209 add a DUK_HOBJECT_FLAG_NOTAIL flag and 'use duk notail' directive 11 years ago
Sami Vaarala 80fd4fe13e fixme cleanups 11 years ago
Sami Vaarala fbc6a2a854 make compiler line number tracking conditionl to DUK_USE_PC2LINE; now always enabled, but can be disabled for memory optimization later 11 years ago
Sami Vaarala 5155f8cdf2 relocate all compiler function struct pointers to beginning of struct to avoid mixing pointers and integers, saves >30 bytes on 64-bit 11 years ago
Sami Vaarala 31c5477ecf fix compiler O(depth^2) inner function parsing by recording a lexer point on first inner function compilation, and then skipping the inner function on the second pass 11 years ago
Sami Vaarala c21a20b766 rename a few defines with DUK_ prefix, also note that they're now unused 11 years ago
Sami Vaarala 408670ce5e add a token parse limit as a backstop to regexp and ecmascript compilation: this helps break out of very deep inner function cases 11 years ago
Sami Vaarala dd0803c186 c typing fixes for pc2line 11 years ago
Sami Vaarala 9fa1ec592d clean up #define, #undef, #ifdef etc to have a single space after the directive 11 years ago
Sami Vaarala 761ef90976 first step to reducing temp/const limits through automatic shuffling; compiler fixes: change INTERNAL errors to RANGE errors when limits reached, normalize constant folding NaNs, recursion value stack check for expressions, do-while continue label target fix, larger limit for compiler recursion with deep stack mode 11 years ago
Sami Vaarala 884045b1d1 typedef C99 'wrapper' types like duk_uint32_t; bulk replacement of duk_u32 with duk_uint32_t, and other type usage replacements 11 years ago
Sami Vaarala fad076afa6 rename growable buffers 'dynamic' buffers (more common and more accurate); other api related changes and placeholders 11 years ago
Sami Vaarala 4862b7aa49 fix include guard names, don't use leading underscores as they are reserved 12 years ago
Sami Vaarala 781d58ca9e trivial struct member name changes to javascript compiler (for uniformity) 12 years ago
Sami Vaarala 95b904a44a compiler recursion limits 12 years ago
Sami Vaarala 9c8fbd509d add a 'parse function expression' mode to duk_js_compile(), this is needed for the Function constructor placeholder (but may be removed later) 12 years ago
Sami Vaarala 202f8b6f01 rename duk_js_compile_program -> duk_js_compile, inherit eval strictness from caller 12 years ago
Sami Vaarala ef02914f4c remove compiler point structure; rewinding in the middle of a function is currently not needed 12 years ago
Sami Vaarala 2464dc1a53 compiler internal header 12 years ago