rogerl%netscape.com
8d0b4fe645
Implicit this and class lookup stuff.
2000-06-29 01:21:41 +00:00
rogerl%netscape.com
b5f49320b8
First set of unified 'dot' handling changes for statics.
2000-06-28 18:41:30 +00:00
rogerl%netscape.com
b3fecb38fa
lots of stuff me and Patrick did
2000-06-27 02:39:32 +00:00
beard%netscape.com
c8cdd76d90
Added emptyArgs, removed unused return value in readEvalFile
2000-06-24 05:42:51 +00:00
beard%netscape.com
0dcdb5889f
VC++ doesn't like local classes in templates.
2000-06-24 05:36:09 +00:00
beard%netscape.com
5d6bcd66f6
major surgery to enable the "load()" native function.
2000-06-24 05:25:33 +00:00
rginda%netscape.com
5159f8b51d
fixing source stepping (opcode stepping to come back later)
...
debugger is now quiet by default.
2000-06-24 02:53:29 +00:00
beard%netscape.com
db5e4eeed7
testCompile() is static
2000-06-24 01:04:58 +00:00
rogerl%netscape.com
ac7b311416
Got newClass working, added printProperties for instances, some slot
...
stuff is happening.
2000-06-24 00:50:59 +00:00
rogerl%netscape.com
9d4fb54c88
Removed FUNCTION instruction, other class related junk.
2000-06-23 22:53:09 +00:00
rginda%netscape.com
b4077ed50c
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
3783f2c99e
Work to support 'this'.
2000-06-21 22:32:21 +00:00
rogerl%netscape.com
0bb6f588ba
Changed use of Register to TypedRegister throughout.
2000-06-20 22:45:45 +00:00
rogerl%netscape.com
a0ca8346b0
Added tests for scripts as strings.
2000-06-16 01:37:47 +00:00
rogerl%netscape.com
22b93140d6
Mark top-level execution as 'script' rather than function - to handle
...
vars correctly.
2000-06-14 23:28:38 +00:00
waldemar%netscape.com
7812dc9a8e
Widened default line width to 30
2000-06-01 03:31:17 +00:00
rogerl%netscape.com
7535f22230
Update to new icg constructor etc.
2000-05-26 22:34:42 +00:00
rogerl%netscape.com
bbd7ed8e62
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
waldemar%netscape.com
01a830b36d
Turned on statement parsing and printing
2000-05-24 01:51:32 +00:00
rogerl%netscape.com
bf553c65fb
COMPARE_GT etc are gone.
2000-05-23 00:09:44 +00:00
rogerl%netscape.com
ad5c33b8e4
Moved genExpr to ICodeGenerator
2000-05-18 00:01:33 +00:00
waldemar%netscape.com
f2965154c2
Fixed parser errors
2000-05-12 05:15:52 +00:00
waldemar%netscape.com
3be5d6b79c
Turned on expression parsing and printing
2000-05-12 03:26:43 +00:00
beard%netscape.com
d4060c6bef
InterpretStage -> Context::Event.
2000-05-12 01:20:34 +00:00
rogerl%netscape.com
908ce34c76
playing with gencode
2000-05-09 19:01:00 +00:00
beard%netscape.com
c5dcfed7a0
generating code rather than showing tokens, printing generic result rather than assuming it's a float64.
2000-05-09 05:46:26 +00:00
beard%netscape.com
c5e54d1f21
print now returns JSValue, added space between args when printing
2000-05-09 03:56:56 +00:00
rogerl%netscape.com
9da7770958
testing native 'print' function
2000-05-08 23:12:10 +00:00
waldemar%netscape.com
9258b98a99
Added formatters, zones, and other miscellaneous utilities
2000-05-06 03:31:35 +00:00
beard%netscape.com
a95951573d
stdin rather than cin
2000-05-05 04:45:39 +00:00
rginda%netscape.com
ace8bcaf1e
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
154414a0ee
JSNamespace -> JSScope.
2000-04-29 14:14:28 +00:00
beard%netscape.com
28a0b3bb92
fixing windows bustage.
2000-04-29 00:29:56 +00:00
rginda%netscape.com
c9f14ba1b4
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
af56dac3b4
Merged JSMap & JSObject. Introduced JSNamespace.
2000-04-28 23:04:43 +00:00
beard%netscape.com
4e41834f75
Don't print BRANCH operands.
2000-04-28 13:46:01 +00:00
beard%netscape.com
082ad168b4
Added Tracer to testFunctionCall().
2000-04-28 13:31:39 +00:00
beard%netscape.com
b3dc38ee22
tracing now prints instruction operands.
2000-04-28 05:44:38 +00:00
beard%netscape.com
7293a17b91
testProto()
2000-04-28 01:43:03 +00:00
rogerl%netscape.com
b28efe5b88
try/catch exercise changes
2000-04-28 00:11:18 +00:00
beard%netscape.com
563b59ef15
fixing bug: js2.cpp:328: Internal compiler error in scope_die_for, at dwarf2out.c:7794 Please submit a full bug report. See <URL: http://www.gnu.org/software/gcc/faq.html#bugreport > for instructions.
2000-04-26 05:43:24 +00:00
beard%netscape.com
8a97a98204
testFactorial() now installs a Context::Listener to trace execution.
2000-04-26 05:37:00 +00:00
beard%netscape.com
27fc318bb1
changed Context constructor to take JSObject* not JSObject&, to be able to control lifetime a little more carefully.
2000-04-25 03:32:53 +00:00
beard%netscape.com
39551bc785
fixing mac bustage (we do reference argc/argv, to initialize them to something sensible).
2000-04-25 02:58:30 +00:00
rogerl%netscape.com
ca67259713
oops
2000-04-21 00:46:48 +00:00
rogerl%netscape.com
5e238bd7a5
Added labelled statements, fixed some VC++'isms
2000-04-21 00:37:51 +00:00
rginda%netscape.com
7615ee9226
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
7b7fc3829f
Began moving away from variables, fixed compare/branch ordering.
...
Testcases working.
2000-04-19 02:09:06 +00:00
beard%netscape.com
7add6915a1
moved initConsole() out to :: namespace.
2000-04-18 00:51:53 +00:00
rginda%netscape.com
66cb26879d
added js::VM, ICG, JSTypes, and Interpreter namespaces; messed around with lots of code.
...
Created class for each ICode, adding a print() method (using formatters)
2000-04-18 00:17:34 +00:00