rogerl%netscape.com
d13899b06c
New (incomplete but functional) implementation of operator overriding.
2001-01-11 00:03:05 +00:00
rogerl%netscape.com
d11b23802a
Sweeping set of changes to implement closures. Also re-targetted entire
...
front-end to Cobol and back-end now generates pdp11 assembly code in
spanish.
2000-12-08 23:55:39 +00:00
rogerl%netscape.com
699cd8646f
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
rogerl%netscape.com
18ad1c2378
Named arguments
2000-09-07 19:22:13 +00:00
rogerl%netscape.com
60221db240
Optional and rest parameters.
...
Named arguments (just begun).
2000-09-02 01:01:04 +00:00
rogerl%netscape.com
934c77a9b2
Fixed printOperand to handle <NaR> properly. Added missing 'return this' to
...
all constructors.
2000-08-23 01:06:52 +00:00
rogerl%netscape.com
58dc7e47b7
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
rogerl%netscape.com
774d010635
More on @ operator. Fixed R 4billion print bug.
2000-07-11 20:54:06 +00:00
rogerl%netscape.com
daba9186aa
Support for 'constructor'.
2000-07-08 01:08:29 +00:00
beard%netscape.com
486b437613
moved all machine generated classes, etc. to icode.h.
2000-06-29 04:19:19 +00:00
rogerl%netscape.com
63744d7c1c
Implicit this and class lookup stuff.
2000-06-29 01:21:41 +00:00
rogerl%netscape.com
52bffdadcf
First set of unified 'dot' handling changes for statics.
2000-06-28 18:41:30 +00:00
beard%netscape.com
8132734212
GET_STATIC/SET_STATIC/STATIC_XCR now use an index rather than a name.
2000-06-28 16:13:12 +00:00
rogerl%netscape.com
fbdb3fe1c1
lots of stuff me and Patrick did
2000-06-27 02:39:32 +00:00
beard%netscape.com
35b239cd47
added NEW_CLASS instruction.
2000-06-23 23:49:17 +00:00
rogerl%netscape.com
e939fbddc4
Adding slot handling to code gen.
2000-06-23 23:43:24 +00:00
rogerl%netscape.com
89515e83dc
Removed FUNCTION instruction, other class related junk.
2000-06-23 22:53:09 +00:00
rginda%netscape.com
da45d9b0eb
Added debugger opcode, change InstructionMap to a std::map, print source lines while tracing
2000-06-23 22:27:17 +00:00
rogerl%netscape.com
f2591282dc
Work to support 'this'.
2000-06-21 22:32:21 +00:00
rogerl%netscape.com
27e254fee3
Changed use of Register to TypedRegister throughout.
2000-06-20 22:45:45 +00:00
rogerl%netscape.com
6526fedd31
Adding support for Functions and Vars, preXcrement, object literals.
2000-06-14 23:26:15 +00:00
rogerl%netscape.com
573531b249
Statement fun
2000-05-26 22:33:05 +00:00
rogerl%netscape.com
932d63213b
Added operator overloading support
2000-05-23 00:08:29 +00:00
rogerl%netscape.com
477b9aecd9
Moved genExpr to ICodeGenerator - added most expression ops.
2000-05-18 00:03:23 +00:00
rogerl%netscape.com
3dd4d8ff15
Added post inc/dec for properties & names.
2000-05-11 00:35:06 +00:00
beard%netscape.com
1c816f64a6
LoadString now has JSString* as second operand
2000-05-09 05:38:48 +00:00
waldemar%netscape.com
fd0ea8f40a
Reordered includes to ensure that systemtypes.h is always included first; that's needed for Visual C++
2000-05-06 03:47:13 +00:00
waldemar%netscape.com
fdfd1288f5
Fixed syntax error
2000-05-06 03:31:50 +00:00
rogerl%netscape.com
7030042c20
Basic string literal & value support
2000-05-05 23:22:31 +00:00
rogerl%netscape.com
ca4af3db37
New arithmetic ops.
2000-05-05 21:38:16 +00:00
rginda%netscape.com
d2e0252642
much debugger spankage; parse and execute step, continue, set, and print (kind-of) commands.
...
push implementation details of ICodeGenerator::print() into InstructionStream so they can be shared with ICodeModule.
copy variableList from ICodeGenerator to ICodeModule.
s/ScringAtom/const StringAtom/ in gencode.pl, regenerate vmtypes.h
2000-05-04 22:42:49 +00:00
beard%netscape.com
9a9f6ba249
added WITHIN, WITHOUT instructions.
2000-04-29 14:10:53 +00:00
rginda%netscape.com
522d51c5b6
somewhat weak debugger console hookup.
...
build shouldn't *look* different yet.
Moved Context::interpret() local vars into Context private, added accessors for
stuff, using JavaScript::Lexer to lex debugger commands.
Fixed sign comparison warning in icg.cpp
2000-04-29 00:23:06 +00:00
beard%netscape.com
34189b3459
tightened up spacing in printOperands(), changed GenericBranch.printOperands() to conditionally print condition register contents.
2000-04-28 13:44:59 +00:00
beard%netscape.com
0be964c389
const ArgList& makes gcc happy.
2000-04-28 13:25:57 +00:00
beard%netscape.com
3583fb214c
added ArgList helper struct to print Call operands, regenerated printOperands() methods to reduce warnings.
2000-04-28 13:20:26 +00:00
beard%netscape.com
ea344e71ab
Instruction::count(), Instruction::printOperands(), plus newly generated instruction classes.
2000-04-28 05:41:54 +00:00
rogerl%netscape.com
d96a9a02a4
More exception handling handling.
2000-04-27 01:27:09 +00:00
beard%netscape.com
02525db2ed
warning removal
2000-04-25 03:28:41 +00:00
rginda%netscape.com
9366e18dd5
NotARegister check in GenericBranch::print()
2000-04-24 20:08:16 +00:00
rogerl%netscape.com
adfcfe0dca
Added a beginning for exception handling.
2000-04-21 22:52:52 +00:00
rginda%netscape.com
6ceaff6eaf
icodegenerator.cpp
...
add m prefix to base and offset label members
interpreter.cpp,h
dual license
wrap interpret in a Context class
add RETURN_VOID case
js2.cpp
update to use context class
remove #if 0 code that'll probably never be used anyway.
jstypes.h
add defineProperty/function to JSObject
vmtypes.h
regerated opcode classes:
added RETURN_VOID, removed LOAD/SAVE_VAR
reverted bacl to the smaller print function (thanks to RETURN_VOID)
fixed branch printing issue
inherit print() from super if possible
tools/gencode.pl
generate smaller print functions again
don't generate print function if superclass can take care of it.
2000-04-21 00:04:14 +00:00
rogerl%netscape.com
2beda190e7
Began moving away from variables, fixed compare/branch ordering.
...
Testcases working.
2000-04-19 02:09:06 +00:00
rginda%netscape.com
4308ea7ed1
formatting changes. use only one tab regardless of nested namespaces
2000-04-18 21:51:45 +00:00
rginda%netscape.com
6d135f273c
removed superfluous ;s after namespace decs.
2000-04-18 07:14:49 +00:00
rginda%netscape.com
12509b464c
regenerated opcode classes after grncode.pl changes
2000-04-18 07:06:25 +00:00
rginda%netscape.com
c156b65e07
regenerated opcodenames to include padding, added label printing back into icg::print
2000-04-18 01:31:24 +00:00
rginda%netscape.com
501e880dcc
adding files for namespace change
2000-04-18 00:19:09 +00:00