Commit Graph
103 Commits
Author SHA1 Message Date
[email protected] eba206007a Re-structuring some ICG details. 2001-02-02 01:04:22 +00:00
[email protected] ff7ed4377b Added <function> at top level and example thereof. 2001-01-20 00:44:51 +00:00
[email protected] 25ee86ed74 Fixes and enhancements to get class references, constructors and scripts
working from .xml input.
2001-01-19 23:56:37 +00:00
[email protected] bce6c00939 Fix for VC++ compile. 2001-01-02 19:49:16 +00:00
[email protected] c589424cc8 no need to copy JSString values into String values. 2000-12-30 07:06:03 +00:00
[email protected] 9f7c9e9380 Added 'length' to Array objects as a getter property - and fixed up stuff
that this depended on. Fixed parameter names for xml classes and added
'loadxml' global function.
2000-12-15 01:38:40 +00:00
[email protected] bf2e677f98 Fix the first startup test. 2000-11-08 21:05:58 +00:00
[email protected] 10cf357362 Fixed warnings & bogus qualifier. 2000-11-07 01:09:45 +00:00
[email protected] d0f3379861 Fixed compare bugs. Report results from js2 test cases. Rewrote generic
equal to match ECMA 1.5
2000-11-06 22:57:10 +00:00
[email protected] 52f69b7186 Fixed adding setter to virtual inherited field. 2000-11-03 02:42:01 +00:00
[email protected] 35b6c13968 Parsing named parameters and arguments according to the Sep-23rd revision
of the grammar. WARNING: struct VariableBinding has grown. Recompile all
after getting this revision.
2000-10-23 19:39:55 +00:00
[email protected] 66e8f06b15 Changed ArgumentList to ArgumentList*. Changed ICodeGenerator to take a
Context instead of world & global pair. Connected to ICodeAssembler from
XMLParser.
2000-10-21 00:30:23 +00:00
[email protected] c14df235ff Added XMLparsing to load a class. Fixed handling of forward references to
class methods/fields.
2000-10-18 23:37:44 +00:00
[email protected] 153c67998a Mods for getter/setter methods. 2000-10-09 22:21:26 +00:00
[email protected] 213587f248 Oops. Left icode output on by default, now off. 2000-08-04 20:37:42 +00:00
[email protected] 17aca1adbe Fixed Mac errors and warnings 2000-08-02 23:09:29 +00:00
[email protected] 780d0c75ad Function prototype objects etc. 2000-07-26 01:56:47 +00:00
[email protected] 56f7b775d6 More ECMA 3 mucking about to support constructors etc. 2000-07-25 22:58:04 +00:00
[email protected] 73b1a5cec5 Implementing Object.prototype object and global object for ECMA 3
Adding Math class support.
2000-07-21 01:16:49 +00:00
[email protected] cf5f687845 Removed all xxxCall, using simple call for everything.
Changed methods to use mMethods vector instead.
Various other fixes etc.
2000-07-18 20:53:03 +00:00
[email protected] 6dd6c3d80e cleaned up by removing widenCString() calls when using world.identifiers 2000-07-17 20:39:19 +00:00
[email protected] 90ed59a029 Backed out time() 2000-07-14 01:46:14 +00:00
[email protected] dd25ece35c Type targetted binary operators.
Added 'time()' function as native.
2000-07-14 01:00:53 +00:00
[email protected] c9d33656f7 Switching to generic binary operator in order to distinguish situation
where Operators package had been loaded and be able to generate typed
versions of the binary operators otherwise.
2000-07-13 00:14:54 +00:00
[email protected] b9417c3c42 Implemented Import -only it's not in the parser yet.
Added missing defineXXX functions.
2000-07-11 23:49:20 +00:00
[email protected] 27ab0f9c96 cleaned up linux warnings, minor debugger tweaks 2000-07-11 23:08:03 +00:00
[email protected] 3bba93d62d More on @ operator. Fixed R 4billion print bug. 2000-07-11 20:54:06 +00:00
[email protected] 6543787cda Some parts of x@<name> working. 2000-07-10 23:18:07 +00:00
[email protected] 40044d08ff Support for 'constructor'. 2000-07-08 01:08:29 +00:00
[email protected] 3e3f1a7bda Removed preprocess step, consolidated identifier handling. 2000-07-06 18:26:26 +00:00
[email protected] e5d0cd69e7 Implicit this and class lookup stuff. 2000-06-29 01:21:41 +00:00
[email protected] 319bc67b3e First set of unified 'dot' handling changes for statics. 2000-06-28 18:41:30 +00:00
[email protected] 886740d6f1 lots of stuff me and Patrick did 2000-06-27 02:39:32 +00:00
[email protected] 7bc3602231 Added emptyArgs, removed unused return value in readEvalFile 2000-06-24 05:42:51 +00:00
[email protected] c6700af491 VC++ doesn't like local classes in templates. 2000-06-24 05:36:09 +00:00
[email protected] 93eec28d1b major surgery to enable the "load()" native function. 2000-06-24 05:25:33 +00:00
[email protected] 2ac2e03bfb fixing source stepping (opcode stepping to come back later)
debugger is now quiet by default.
2000-06-24 02:53:29 +00:00
[email protected] 3b691d2715 testCompile() is static 2000-06-24 01:04:58 +00:00
[email protected] f583cc2584 Got newClass working, added printProperties for instances, some slot
stuff is happening.
2000-06-24 00:50:59 +00:00
[email protected] e0b884f7fd Removed FUNCTION instruction, other class related junk. 2000-06-23 22:53:09 +00:00
[email protected] a76bda208d Added debugger opcode, change InstructionMap to a std::map, print source lines while tracing 2000-06-23 22:27:17 +00:00
[email protected] cbb21ed2a6 Work to support 'this'. 2000-06-21 22:32:21 +00:00
[email protected] cd69ef165c Changed use of Register to TypedRegister throughout. 2000-06-20 22:45:45 +00:00
[email protected] 4ca5e8f1a8 Added tests for scripts as strings. 2000-06-16 01:37:47 +00:00
[email protected] d3db283c52 Mark top-level execution as 'script' rather than function - to handle
vars correctly.
2000-06-14 23:28:38 +00:00
[email protected] d9b4a46eeb Widened default line width to 30 2000-06-01 03:31:17 +00:00
[email protected] 565de499e9 Update to new icg constructor etc. 2000-05-26 22:34:42 +00:00
[email protected] 41fccab380 Codegen for statements. Blew off old statement API and most of the test
functions for now, sorry.
2000-05-24 02:11:39 +00:00
[email protected] 5f0cf6a2d1 Turned on statement parsing and printing 2000-05-24 01:51:32 +00:00
[email protected] 65eb6d7d4f COMPARE_GT etc are gone. 2000-05-23 00:09:44 +00:00