beard%netscape.com
5e49b8d13f
JSValue::operator==(const JSValue&)
2000-04-29 14:13:43 +00:00
beard%netscape.com
1603cc24d3
Added JSValue::operator==(const JSValue&), renamed JSNamespace JSScope.
2000-04-29 14:13:08 +00:00
beard%netscape.com
275ac8e2bf
moved kUndefinedValue to jstypes.cpp, where it belongs.
2000-04-29 14:11:27 +00:00
beard%netscape.com
dce8602831
added WITHIN, WITHOUT instructions.
2000-04-29 14:10:53 +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
cd2ea3d3e4
Added jstypes.cpp
2000-04-28 23:10:06 +00:00
beard%netscape.com
af56dac3b4
Merged JSMap & JSObject. Introduced JSNamespace.
2000-04-28 23:04:43 +00:00
rginda%netscape.com
69e9b0ee35
80 column nit picked, comment fixed
2000-04-28 15:32:54 +00:00
beard%netscape.com
4e41834f75
Don't print BRANCH operands.
2000-04-28 13:46:01 +00:00
beard%netscape.com
8ff65a3852
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
2efc159d82
tightened up spacing in printOperands().
2000-04-28 13:43:49 +00:00
beard%netscape.com
082ad168b4
Added Tracer to testFunctionCall().
2000-04-28 13:31:39 +00:00
beard%netscape.com
c4a7011cdf
const ArgList& makes gcc happy.
2000-04-28 13:25:57 +00:00
beard%netscape.com
734c2d1779
Added jstypes.o
2000-04-28 13:25:24 +00:00
beard%netscape.com
1d0cfaf144
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
bbe2f74bd7
operator<< (Formatter& f, ArgList& al)
2000-04-28 13:18:03 +00:00
beard%netscape.com
2ccb1db4e8
support for printing ArgLists.
2000-04-28 13:17:35 +00:00
beard%netscape.com
02fccb52ca
Unused.
2000-04-28 13:16:23 +00:00
beard%netscape.com
0a6482a9e4
regenerated dependencies
2000-04-28 05:46:22 +00:00
beard%netscape.com
b3dc38ee22
tracing now prints instruction operands.
2000-04-28 05:44:38 +00:00
beard%netscape.com
99956a6429
using JSValue::tag to do simple operand validation.
2000-04-28 05:43:33 +00:00
beard%netscape.com
f3d2f8c11d
forward declaring ICodeModule, to break circularity. JSValue is now a tagged union.
2000-04-28 05:42:46 +00:00
beard%netscape.com
a166644e29
Instruction::count(), Instruction::printOperands(), plus newly generated instruction classes.
2000-04-28 05:41:54 +00:00
beard%netscape.com
0dee053bef
added jstypes.cpp
2000-04-28 05:40:42 +00:00
beard%netscape.com
cf5bda1bec
operator<<(Formatter&, const JSValue&)
2000-04-28 05:40:16 +00:00
beard%netscape.com
dc524f8331
generates printOperands()
2000-04-28 05:39:27 +00:00
beard%netscape.com
bc2e56b97c
runs gencode.pl with MW Perl.
2000-04-28 05:39:04 +00:00
waldemar%netscape.com
192b3c45c8
Changed attributes and 'language' statement syntax, added interfaces, and removed ^*, ^?, |*, and |?.
2000-04-28 02:34:14 +00:00
rginda%netscape.com
5ab596c1c3
don't generate print_args if super_has_print
...
comment fixes
2000-04-28 02:33:36 +00:00
waldemar%netscape.com
c0b3a0c99c
Changed period to dot
2000-04-28 02:31:41 +00:00
waldemar%netscape.com
ef5540e948
Fixed syntax of (bottom)
2000-04-28 02:30:44 +00:00
waldemar%netscape.com
5e5a923879
First Checked In.
2000-04-28 02:30:19 +00:00
rginda%netscape.com
9c217a25f0
moved comment so it made more sense
2000-04-28 02:26:14 +00:00
beard%netscape.com
df05dec418
reordered inheritance graph of Linkage.
2000-04-28 02:23:08 +00:00
rginda%netscape.com
5701c02682
printarg stubbed out
2000-04-28 02:20:23 +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
rogerl%netscape.com
11e9424ecd
fixed bad constructor thing.
2000-04-28 00:10:22 +00:00
rogerl%netscape.com
62485331a6
More exception handling handling.
2000-04-27 01:27:09 +00:00
beard%netscape.com
427dc1a8eb
oops.
2000-04-26 22:10:20 +00:00
beard%netscape.com
758222941a
removed JSMap::operator[], added set/getPrototype().
2000-04-26 22:06:17 +00:00
beard%netscape.com
36a2941e26
oops getProperty() can't be const unless map.find() is used everywhere.
2000-04-26 21:48:04 +00:00
beard%netscape.com
94c129e6fd
Using getProperty/setProperty rather than JSMap::operator[]. This follows the prototype chain.
2000-04-26 21:38:14 +00:00
beard%netscape.com
c7426026d9
added JSMap::setProperty()/getProperty(), and a prototype field.
2000-04-26 21:27:44 +00:00
rginda%netscape.com
a0058d1d8d
initial add of debugger vapors
2000-04-26 06:04:02 +00:00
beard%netscape.com
77ef914838
Fixing windows bustage in Linkage.
2000-04-26 05:56:20 +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
4ae9bfec81
JSActivation -> Activation, JSLinkage --> Linkage. Linkage now implements the Context::Frame interface. Implemented simple Context::Listener support.
2000-04-26 05:35:07 +00:00
beard%netscape.com
36879f0ce5
Added Context::Frame, Context::Listener abstract classes. Initial support for debugger.
2000-04-26 05:29:35 +00:00
beard%netscape.com
4cb6fe2a7b
JSFrame -> JSLinkage, using explicit linked list rather than a stack.
2000-04-26 01:42:00 +00:00
beard%netscape.com
9b7ed9578b
removed intentionally private JSActivation/JSFrame types. The debugger should be able to ask questions of the interpreter to obtain this information.
2000-04-26 01:39:56 +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
6a4bca91fe
warning removal
2000-04-25 03:28:41 +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
beard%netscape.com
9d7aed4cd0
renamed not() -> complement() (not is a keyword in C++), implemented complement().
2000-04-25 02:55:08 +00:00
rogerl%netscape.com
1b75c7efbb
Fixes for handling missing params.
2000-04-24 22:40:53 +00:00
rginda%netscape.com
5edf52ba65
adding comments
2000-04-24 21:43:49 +00:00
rginda%netscape.com
5945808db5
NotARegister check in GenericBranch::print()
2000-04-24 20:08:16 +00:00
rginda%netscape.com
66299105f3
quieting linux warnings
2000-04-24 18:41:05 +00:00
rogerl%netscape.com
f516a5722d
Added a beginning for exception handling.
2000-04-21 22:52:52 +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
beard%netscape.com
d7ad5021eb
Simple dependency tracking with make depend target.
2000-04-20 23:02:19 +00:00
beard%netscape.com
30971c4c45
Simple dependencies list. Rebuilt with make depend target.
2000-04-20 22:58:23 +00:00
beard%netscape.com
9acaa398fe
removed extraneous semi-colons after namespace declarations.
2000-04-20 06:20:31 +00:00
beard%netscape.com
bb0348e64d
warnings: commented out unused parameter name.
2000-04-20 06:19:43 +00:00
rogerl%netscape.com
5199f6e49c
Removing variables.
2000-04-19 22:45:57 +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
rginda%netscape.com
3a06b96f97
formatting changes. use only one tab regardless of nested namespaces
2000-04-18 21:51:45 +00:00
rginda%netscape.com
1952e14ff8
removed superfluous ;s after namespace decs.
2000-04-18 07:14:49 +00:00
rginda%netscape.com
531ede4f17
regenerated opcode classes after grncode.pl changes
2000-04-18 07:06:25 +00:00
rginda%netscape.com
33d0848741
modified to print R~ if NotARegister
2000-04-18 07:04:24 +00:00
rogerl%netscape.com
fce9fa62b1
added '(' for RegisterList output
2000-04-18 01:46:32 +00:00
rginda%netscape.com
8ac24b9045
regenerated opcodenames to include padding, added label printing back into icg::print
2000-04-18 01:31:24 +00:00
rginda%netscape.com
b0eca07a47
space out opcodenames array
2000-04-18 01:19:12 +00:00
beard%netscape.com
52d7e01394
std::pair
2000-04-18 00:52:07 +00:00
beard%netscape.com
7add6915a1
moved initConsole() out to :: namespace.
2000-04-18 00:51:53 +00:00
beard%netscape.com
c18125076f
added vmtypes.h,.cpp
2000-04-18 00:50:58 +00:00
rogerl%netscape.com
f163805c99
added vmtypes/jstypes
2000-04-18 00:46:18 +00:00
rogerl%netscape.com
0e17feea55
Fixed WINDOZE build issues
2000-04-18 00:38:26 +00:00
rginda%netscape.com
73017de6a1
initial add of perl script to generate icode classes
2000-04-18 00:22:51 +00:00
rginda%netscape.com
5a6fd84159
removing bogus file
2000-04-18 00:20:10 +00:00
rginda%netscape.com
0fac613959
adding files for namespace change
2000-04-18 00:19:09 +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
beard%netscape.com
02798c9177
FASTLOCK changes.
2000-04-17 23:58:28 +00:00
beard%netscape.com
e82b4e2532
gc_base now used as common base class of GC allocated objects.
2000-04-13 04:54:41 +00:00
beard%netscape.com
56d97a71e9
added gc_base, which defines a more generic operator new().
2000-04-13 04:53:56 +00:00
beard%netscape.com
d92905d034
builds gc
2000-04-13 00:37:00 +00:00
beard%netscape.com
1468acd8d1
Added gc_allocator.h to project and gc.lib to link against.
2000-04-13 00:28:40 +00:00
beard%netscape.com
a1bed20974
linking in gc.lib from ../../gc/boehm
2000-04-13 00:16:58 +00:00
beard%netscape.com
2922707730
enabling GC on all platforms
2000-04-13 00:14:23 +00:00
beard%netscape.com
12ccc48ec4
JSActivation, JSFunction
2000-04-11 05:11:58 +00:00
beard%netscape.com
95604b5bff
Added JSFunction, defineFunction()
2000-04-11 05:10:40 +00:00
beard%netscape.com
c721ec102b
defineFunction, added assert
2000-04-11 05:09:38 +00:00
beard%netscape.com
b574e77f13
_Charalloc, deallocate(void*) for _WIN32 only
2000-04-11 04:55:27 +00:00
beard%netscape.com
92ec71fb35
defineGlobalProperty
2000-04-11 03:11:47 +00:00
beard%netscape.com
af1f41fb7d
JSObject, JSArray : public JSMap, gc_object<T>. Frame -> JSFrame. Added JSFrameStack which is an std:stack<JSFrame*, std:vector<JSFrame*> >.
2000-04-11 03:11:00 +00:00
beard%netscape.com
8ef180ab04
use gc_allocator<T> everywhere, addGlobalProperty -> defineGlobalProperty
2000-04-11 03:07:39 +00:00
beard%netscape.com
2930dfd621
removed commented out GET_PROP/SET_PROP.
2000-04-11 02:59:52 +00:00
beard%netscape.com
8bd406efae
added gc_object.
2000-04-11 02:59:14 +00:00
beard%netscape.com
f7fdcbff8b
fixing an assert and warnings
2000-04-11 01:10:26 +00:00
rogerl%netscape.com
2757a2004e
CALL opcode & frames etc. (r=beard)
2000-04-11 00:32:17 +00:00
waldemar%netscape.com
84bdf052ab
Fixed delete/delete[] mismatch
2000-04-10 22:23:17 +00:00
waldemar%netscape.com
d1e89106de
Fixed memory leak
2000-04-10 22:20:00 +00:00
beard%netscape.com
1edba28c48
Fixed warnings about member initializers on Linux. Whatever.
2000-04-08 04:49:41 +00:00
beard%netscape.com
14a585783b
Reduced size of args arrays to minimum.
2000-04-08 04:41:19 +00:00
beard%netscape.com
138afee3b4
Reordered parameters to getProperty()/setProperty() to be consistent with operand ordering. Added array allocation/indexing to testObjects().
2000-04-08 04:15:02 +00:00
beard%netscape.com
6337059f6f
JSArray::elements(1), operator[](const JSValue&), fixed register-indexing.
2000-04-08 04:12:28 +00:00
beard%netscape.com
f589a1ab24
Fixed NEW_ARRAY, GET_ELEMENT, SET_ELEMENT printing.,
2000-04-08 04:11:16 +00:00
beard%netscape.com
8c93fb3d06
NEW_ARRAY
2000-04-08 03:37:49 +00:00
beard%netscape.com
0822793571
Reordered GetProp/SetProp operands to base, name. Added NewArray, GetElement, SetElement instructions.
2000-04-08 03:37:18 +00:00
beard%netscape.com
afd93b4e07
added JSArray, GET_ELEMENT, SET_ELEMENT, changed some ops to dest/src.
2000-04-08 03:23:44 +00:00
beard%netscape.com
468bc29100
added JSArray, comments.
2000-04-08 02:44:34 +00:00
beard%netscape.com
95cb0e8b9d
Changed boilerplate, chmod -x
2000-04-08 02:29:07 +00:00
beard%netscape.com
010a45313a
converted NotALabel to an enum, so it obeys proper scoping rules.
2000-04-08 02:25:37 +00:00
rogerl%netscape.com
5e55242311
added interpreter & icodegenerator
2000-04-08 01:09:50 +00:00
rogerl%netscape.com
e60b5c26e9
Fixed wacky tabs
2000-04-08 01:08:01 +00:00
rogerl%netscape.com
d26609534d
Added ICodeModule to collect extra info about executable chunks.
2000-04-08 01:04:55 +00:00
beard%netscape.com
bda3717ce9
fixed LoadImmediate.
2000-04-08 00:57:28 +00:00
beard%netscape.com
895fa664c4
reindented, introduced gc_map_allocator to hide platform differences
2000-04-08 00:52:59 +00:00
beard%netscape.com
7810a0856a
conforming to MSVC++ allocators
2000-04-08 00:48:13 +00:00
rogerl%netscape.com
ad01c0a3c9
Re-ordered instructions so destination is always first.
...
Changed labels to be struct * instead of ints.
2000-04-07 22:19:36 +00:00
rogerl%netscape.com
6b29288692
fix invalid return in GC_free for win32 build
2000-04-07 21:58:33 +00:00
rginda%netscape.com
a475c7a48a
#if out references to std::iterator to get gcc to compile
2000-04-07 21:11:40 +00:00
beard%netscape.com
89b42085ab
printing code in testObjects().
2000-04-07 04:59:57 +00:00
beard%netscape.com
d5333de9ec
added code to print SAVE_NAME, NEW_OBJECT, GET_PROP, and SET_PROP iCodes.
2000-04-07 04:58:58 +00:00
beard%netscape.com
a1ce56851a
JSObject and its elements now allocated using gc_allocator<T> (XP_MAC only).
2000-04-07 04:39:50 +00:00
beard%netscape.com
3f67d58724
JSValues now using gc_allocator (XP_MAC only for now).
2000-04-07 04:38:18 +00:00
beard%netscape.com
2800c15275
added gc library.
2000-04-07 04:36:38 +00:00
beard%netscape.com
22d99fdce4
prebuilt gc library for bootstrapping.
2000-04-07 04:35:14 +00:00
beard%netscape.com
ca07212aa6
added stub implementations of GC entry points.
2000-04-07 04:00:21 +00:00
beard%netscape.com
d7fa1b7fe2
added failed gc_rebind, for future compilers to ponder.
2000-04-07 03:11:38 +00:00
beard%netscape.com
1a2406676c
duh, can't use wide string constants on Linux
2000-04-07 03:08:20 +00:00
beard%netscape.com
26a073ebc4
XP_MAC: no longer auto close upon exit (so we can see asserts, etc.). Renamed testInterpreter() to testFactorial(). Added testObjects(), which allocates an object, stores it in the global variable "global", assigns 0.0 to "global.counter", and finally defines a function "increment" which adds 1.0 to "global.counter" each time it is called.
2000-04-07 02:58:01 +00:00
beard%netscape.com
781aff8cd6
Added preliminary object representation class JSObject, which is simply an STL map<String, JSValue> for now. Changed static globals to be a JSObject (can you say scope chain?). Implemented NEW_OBJECT, GET_PROP, and SET_PROP, all in terms of operations provided by JSObject. No GC (yet).
2000-04-07 02:52:07 +00:00
beard%netscape.com
53882505b5
added forward declaration to class JSObject, and changed void* JSValue.ref to JSObject* JSValue.obj.
2000-04-07 02:47:53 +00:00
beard%netscape.com
59f99c863e
fix calls to template superclass for gcc
2000-04-07 02:45:33 +00:00
beard%netscape.com
dab8f50344
added NEW_OBJECT instruction. unified typedef GetProp, SetProp. changed typedef Return to class Return, added class NewObject. These classes automatically pass their opcode to their base-class, and look better in the debugger. Added a virtual destructor to Instruction() #ifdef DEBUG. Added newObject(), saveName() and setProperty() methods to ICodeGenerator.
2000-04-07 02:41:21 +00:00
beard%netscape.com
9c646bbafc
added newObject(), saveName() and setProperty().
2000-04-07 02:41:08 +00:00
waldemar%netscape.com
14b0eb8f01
Worked around Visual C++ bugs
2000-04-07 00:47:39 +00:00
beard%netscape.com
f973ddc215
needed to qualify isFieldKind
2000-04-07 00:24:42 +00:00
beard%netscape.com
bfe503795f
adding int to printCharBufferSize
2000-04-07 00:23:33 +00:00
waldemar%netscape.com
56188bfaae
Fixed Mac MPW build
2000-04-07 00:06:05 +00:00
waldemar%netscape.com
709bb0562d
Made Mac MPW js2 tool work
2000-04-07 00:05:23 +00:00
waldemar%netscape.com
7523109fc4
Added Buffer, BitSet, and implemented Formatters for output
2000-04-06 23:48:05 +00:00
waldemar%netscape.com
f9ce82ae8e
Implemented Formatters for output
2000-04-06 23:47:33 +00:00
waldemar%netscape.com
5d892e7bf7
Implemented Formatters for output and added parseMember
2000-04-06 23:45:58 +00:00
waldemar%netscape.com
66d8f5244f
Fixed syntax errors
2000-04-06 23:43:08 +00:00
waldemar%netscape.com
182fc056f3
Commented out syntax error
2000-04-06 23:40:47 +00:00
rogerl%netscape.com
dcbc9904da
Changed compare/branch handling to determine last compare opcode.
...
Made returnStatement a member in ICG.
2000-04-06 22:40:17 +00:00
rginda%netscape.com
b4eab2df18
remove +x mode.
...
Not part of the default build.
2000-04-06 20:27:22 +00:00
beard%netscape.com
bed1820c51
Added interpreter.o to build of js2.
2000-04-06 03:05:12 +00:00
beard%netscape.com
efcd4404fa
cases for SUBTRACT, MULTIPLY, DIVIDE in print().
2000-04-06 03:02:24 +00:00
beard%netscape.com
6e423dece1
added testInterpreter(), which computes factorial using iCode (woo hoo!)
2000-04-06 02:59:16 +00:00
beard%netscape.com
602bdc5282
more arithmetic, conditional branches, return instruction.
2000-04-06 02:58:22 +00:00
beard%netscape.com
a57994c317
added new instructions, SUBTRACT, MULTIPLY, DIVICE, BRANCH_*, and RETURN. Changed LoadVar/SaveVar to have uint32 operand. Added optional paramter branchOp to ICodeGenerator::branchConditional() & endWhileExpression() to parametrize branch kind. Added complete(Register) to generate a RETURN instruction.
2000-04-06 02:57:42 +00:00
beard%netscape.com
2901700dc5
added a ref field, changed default constructor to initialize f64.
2000-04-06 02:52:51 +00:00
rogerl%netscape.com
047b74d5c6
Resolved branch targets
2000-04-06 00:04:11 +00:00
beard%netscape.com
f1388bf5a6
removed usage of labels (duh)
2000-04-05 23:57:51 +00:00
rogerl%netscape.com
d5b0b5bc32
typedef'd instructions
2000-04-05 23:41:58 +00:00
beard%netscape.com
76e3fd2f85
Added default case to avoid warning
2000-04-05 21:26:01 +00:00
beard%netscape.com
528d7eb22f
added "globals", labels parameter for branches, combined some Instruction_N<> typedefs.
2000-04-05 20:33:41 +00:00
beard%netscape.com
9a69888729
added labels parameter.
2000-04-05 20:29:09 +00:00
beard%netscape.com
391d9767eb
added Instruction::opcode(), and Instruction_N::oN(), and ICodeGenerator::getLabels().
2000-04-05 20:28:17 +00:00
beard%netscape.com
59cf8293ac
moved declaration of lgBasicAlignment & basicAlignment inside the include guard.
2000-04-05 20:26:49 +00:00
rogerl%netscape.com
c0c155dec7
added missing semi in win32 case
2000-04-05 18:20:02 +00:00
beard%netscape.com
96f9207cc7
added interpreter.cpp/.h
2000-04-05 18:06:04 +00:00
beard%netscape.com
8a75ea3668
linux fixes
2000-04-05 06:10:53 +00:00
beard%netscape.com
ab11ac751b
first crack at an icode interpreter
2000-04-05 06:05:57 +00:00
beard%netscape.com
932ecf336b
turned off '\n' -> '\r' mapping
2000-04-05 04:25:51 +00:00
beard%netscape.com
2ff22a0e79
backed out "fix" (thanks waldemar)
2000-04-05 04:24:19 +00:00
beard%netscape.com
91135e142e
removed newline mapping code (instead using compiler mapping of '\n' to '\r' in literals, which should do the right thing).
2000-04-05 03:57:57 +00:00
beard%netscape.com
a5e6536104
added JS2MPW target (non-debug), converted MPW targets to do newline mapping (rather than using explicit override functions).
2000-04-05 03:56:34 +00:00
beard%netscape.com
f6728f15b4
removed DEBUG
2000-04-05 03:54:46 +00:00
beard%netscape.com
7562d30003
debug prefix for MPW tool.
2000-04-05 03:54:30 +00:00
beard%netscape.com
8a1dbf5904
now using gc_container<T>.
2000-04-05 02:05:12 +00:00
beard%netscape.com
66bbb0bc4b
convenience container types that use the GC_allocator.
2000-04-05 02:03:03 +00:00
beard%netscape.com
86d14fee9a
added a comment.
2000-04-05 01:55:14 +00:00
beard%netscape.com
5b21e4b8ec
making icode generation test not mutually exclusive with the REPL.
2000-04-05 00:52:47 +00:00
beard%netscape.com
18a631e12e
changed to use locally built gc.o library.
2000-04-05 00:50:59 +00:00
beard%netscape.com
fbfcf75306
gc configuration file.
2000-04-05 00:50:32 +00:00
beard%netscape.com
a6dabb8495
local project to build the gc itself.
2000-04-05 00:50:01 +00:00
beard%netscape.com
540d3fe5d1
Fixing linux build: needed <algorithm> and stub implementations of parseMember, parseNonAssignmentExpression, paraseAssignmentExpression and parseExpression.
2000-04-04 23:58:30 +00:00
waldemar%netscape.com
9989984744
Updated for lexer changes
2000-04-04 21:43:28 +00:00
waldemar%netscape.com
342f045b6d
Added insertChars, removed SourcePosition, and reorganized Exception class
2000-04-04 21:42:39 +00:00
waldemar%netscape.com
23152b92cb
Added postfix expression parsing. Simplified Reader.
2000-04-04 21:39:59 +00:00
waldemar%netscape.com
8c3ea7467e
Updated sprintf call
2000-04-04 21:38:53 +00:00
waldemar%netscape.com
a84c5b0547
Updated lexer API
2000-04-04 21:38:25 +00:00
waldemar%netscape.com
cf09318769
Reordered files
2000-04-04 21:37:20 +00:00
waldemar%netscape.com
b3f0341877
Fixed syntax errors
2000-04-04 21:36:57 +00:00
rogerl%netscape.com
131d10c8ea
cleaning up the codestate classes; continue labels
2000-04-04 01:48:35 +00:00
rogerl%netscape.com
3714722cf4
For statements.
2000-04-01 02:53:16 +00:00
rogerl%netscape.com
4c52a939a5
Added do & switch statements, more hacking at the code state thing.
2000-04-01 01:30:32 +00:00
beard%netscape.com
33874b728f
fixing a broken header.
2000-03-31 05:47:42 +00:00
rogerl%netscape.com
788fbc5ec8
Changes to CodeState thing, still not happy with this - RTTI would be
...
better?
2000-03-31 01:54:28 +00:00
beard%netscape.com
6763f39040
making icodegenerator work on Linux
2000-03-31 00:42:25 +00:00
beard%netscape.com
b329cb0167
added icodegenerator.cpp
2000-03-31 00:09:24 +00:00
rogerl%netscape.com
dd0e354b10
Test driver for icg in main, just a temporary thing
2000-03-29 19:24:07 +00:00
rogerl%netscape.com
4e4f0fd854
First hack at some icode generation.
2000-03-29 19:19:23 +00:00
waldemar%netscape.com
c9f5bf1179
Made ifdef _WIN32 uniform
2000-03-22 00:52:06 +00:00
beard%netscape.com
de9a3d5b81
Added gctest target, added -lm to get floor()
2000-03-09 02:11:52 +00:00
beard%netscape.com
936efe5b4c
oops, commented out gc_types<T>::string.
2000-03-09 01:44:35 +00:00
beard%netscape.com
41c89d932b
g++ doesn't provide numeric_limits<T>
2000-03-09 01:35:53 +00:00
beard%netscape.com
5d04d65d6c
Cleaning up for GCC
2000-03-09 01:34:57 +00:00
beard%netscape.com
ab088f1054
more tests, using safer auto_ptr.
2000-03-07 01:21:53 +00:00
beard%netscape.com
0ea2240645
can't use operator new to allocate containers that use GC_allocator, because the Mac heap zone isn't scanned.
2000-03-02 21:06:36 +00:00
beard%netscape.com
1c54ce1dd3
added gc_traits_finalizable to use GC finalization facilities to call destructors.
2000-03-02 20:58:26 +00:00
waldemar%netscape.com
b0856ea797
*** empty log message ***
2000-03-02 03:46:10 +00:00
waldemar%netscape.com
e739825b8b
Workarounds for VC6 bugs
2000-03-02 03:43:40 +00:00
waldemar%netscape.com
3343bc84e0
Added parser output classes
2000-03-01 07:00:31 +00:00
waldemar%netscape.com
3c5779cbdb
Added linked list and arena destructor utilities
2000-03-01 07:00:05 +00:00
beard%netscape.com
5affa1af78
gc_traits used to control whether a type is allocated using GC_malloc vs. GC_malloc_atomic.
2000-02-29 16:03:24 +00:00
beard%netscape.com
3a408c8323
gc_allocator test
2000-02-29 16:01:57 +00:00
beard%netscape.com
186f182de8
allocator for garbage collection
2000-02-29 01:48:02 +00:00
waldemar%netscape.com
b0e0b87f08
Work on adding parser
2000-02-23 01:54:30 +00:00
waldemar%netscape.com
8ebb1df155
Added .h files to project
2000-02-23 01:53:08 +00:00
waldemar%netscape.com
a0acd5a160
Fixed non-DEBUG warning
2000-02-23 01:51:44 +00:00
waldemar%netscape.com
4239da4d1e
Added arenas
2000-02-23 01:40:48 +00:00
waldemar%netscape.com
d58243bab1
Backed out extraneous change
2000-02-21 19:52:47 +00:00
waldemar%netscape.com
6839cfa61f
Added x86 gcc support
2000-02-21 19:49:21 +00:00
waldemar%netscape.com
a701bf114d
Added debug flags
2000-02-21 19:48:45 +00:00
waldemar%netscape.com
f93144b04b
Unix makefile
2000-02-19 10:03:07 +00:00
waldemar%netscape.com
c1153ce581
Updated for GCC
2000-02-19 10:01:53 +00:00
waldemar%netscape.com
fd5730911e
Fixed signed/unsigned warning
2000-02-19 09:32:45 +00:00
waldemar%netscape.com
4f6ade43db
Fixed GCC incompatibilities
2000-02-19 09:26:59 +00:00
waldemar%netscape.com
9a3054bba5
Fixed bug
2000-02-05 00:39:58 +00:00
waldemar%netscape.com
8cc88bfb5a
Fixed & bugs
2000-02-04 23:54:29 +00:00
waldemar%netscape.com
b7990b4910
Fixed syntax error
2000-02-04 23:54:08 +00:00
waldemar%netscape.com
58d5f8fec3
VC6 project and workspace
2000-02-03 08:27:00 +00:00
waldemar%netscape.com
5acd2ebc45
Updated for VC6
2000-02-03 08:25:01 +00:00
waldemar%netscape.com
0a7d68a759
Turned off optimizations and inlining in debug build
2000-02-02 08:51:16 +00:00
waldemar%netscape.com
0c26dbf247
Changed to match parser.h
2000-02-02 08:50:54 +00:00
waldemar%netscape.com
c1d408f4ee
Added ArrayAutoPtr and reworked cstring -> String conversions
2000-02-02 08:50:26 +00:00
waldemar%netscape.com
8ed7282c18
Added parsing of numerals and token printing
2000-02-02 08:48:40 +00:00
waldemar%netscape.com
1216266a7a
Cleaned up and added String routines
2000-02-02 08:47:54 +00:00
waldemar%netscape.com
666c772717
Added lexer call
2000-02-02 08:47:03 +00:00
waldemar%netscape.com
969ef01100
Fixed bug
2000-02-02 08:46:36 +00:00
waldemar%netscape.com
8fa12341dc
Added numerics.cpp
2000-01-29 08:25:59 +00:00
waldemar%netscape.com
641ea32367
Fixed NOT_REACHED
2000-01-29 08:25:36 +00:00
waldemar%netscape.com
17fc0df39c
Added NATIVE_INT64 flag
2000-01-29 08:25:02 +00:00
waldemar%netscape.com
adb46bea1e
First Checked In.
2000-01-29 08:24:40 +00:00
waldemar%netscape.com
394af73e7e
Rearranged link order
2000-01-25 23:00:19 +00:00
waldemar%netscape.com
d87689d24c
Added constructor
2000-01-25 22:59:28 +00:00
waldemar%netscape.com
7b0872efb8
Added char16 and uchar16
2000-01-25 22:58:55 +00:00
waldemar%netscape.com
cf7f6d77da
Added string, character, and exception utilities
2000-01-25 22:58:34 +00:00
waldemar%netscape.com
88225dd675
Continuing to implement
2000-01-25 22:57:32 +00:00
waldemar%netscape.com
8a8608577e
Switched to using appendChars
2000-01-25 22:56:48 +00:00
waldemar%netscape.com
d71843357c
Fixed syntax error
2000-01-25 22:56:14 +00:00
waldemar%netscape.com
d0ae5adcc3
Added unicode character category functions
2000-01-11 05:55:58 +00:00
beard%netscape.com
c7b3eb0e20
initial check-in.
2000-01-11 01:46:27 +00:00
waldemar%netscape.com
0f267bc1c5
First Checked In.
2000-01-10 21:22:43 +00:00
waldemar%netscape.com
f48d85e294
Removed field, method, and constructor. Added static.
1999-12-08 00:35:00 +00:00
waldemar%netscape.com
1c60a49825
Fixed Harlequin incompatibilities
1999-12-08 00:34:29 +00:00
waldemar%netscape.com
654270558a
Added next-token-unit. Simplified grammar and removed boolean actions that indicate whether the next token can be a regexp. Added assertion that a * can't follow a division.
1999-12-07 22:09:10 +00:00
waldemar%netscape.com
d9fd9938e0
Added hash-table-entries
1999-12-07 22:07:04 +00:00
waldemar%netscape.com
e816427e61
Fixed bug in forbidden terminalset calculations
1999-12-07 22:06:43 +00:00
waldemar%netscape.com
d94ccc85f2
Made semantics compiled on Allegro
1999-12-07 22:04:58 +00:00
waldemar%netscape.com
1fff1418d4
Clean grammars on allegro to save memory
1999-12-04 05:04:08 +00:00
waldemar%netscape.com
2299109d45
Added canonical LR(1) grammars and grammar cleaning
1999-12-04 05:03:20 +00:00
waldemar%netscape.com
09fd8db28a
First Checked In.
1999-12-04 05:01:34 +00:00
waldemar%netscape.com
d1a96fc050
File Removed.
1999-12-04 05:01:06 +00:00
waldemar%netscape.com
f7b49b1b05
Implemented line-grammar and added utility functions for analyzing grammar state table
1999-12-03 22:53:21 +00:00
waldemar%netscape.com
ffe7afd37a
Implemented variant-constraints
1999-12-03 22:52:18 +00:00
waldemar%netscape.com
436bc8e750
Implemented line-grammar
1999-12-03 22:51:27 +00:00
waldemar%netscape.com
15793d4cc3
Implemented variant-constraints. Added all-state-transitions.
1999-12-03 22:50:45 +00:00
waldemar%netscape.com
5357f74106
Changed comments
1999-12-03 22:49:36 +00:00
waldemar%netscape.com
f4d100a1e2
First Checked In.
1999-12-03 22:49:10 +00:00
waldemar%netscape.com
37d714ab95
Added :sort-key to sorted-hash-table-keys
1999-12-03 22:48:52 +00:00
waldemar%netscape.com
61070bffbe
Fixed MCL incompatibility
1999-11-20 04:34:42 +00:00
waldemar%netscape.com
c9c34bf66c
Added Allegro reference
1999-11-20 02:18:26 +00:00
waldemar%netscape.com
134c6fefaf
Updated to work under Allegro Common Lisp
1999-11-20 02:16:56 +00:00
waldemar%netscape.com
bdcf4fd531
Changed external-link-base
1999-11-12 07:24:40 +00:00
waldemar%netscape.com
601517cf29
Added language declarations, ?id syntax, ^^, ^^=, units. Updated list of future reserved words. Allowed definitions in compount statements.
1999-11-12 07:24:19 +00:00
waldemar%netscape.com
7e1c468432
Updated list of keywords
1999-11-12 07:22:27 +00:00
waldemar%netscape.com
842058475c
Removed distribution restrictions because this is part of the language spec
1999-11-03 03:59:31 +00:00
waldemar%netscape.com
cda16b1c7d
Updated to Mozilla 1.1 license
1999-11-03 03:58:07 +00:00
waldemar%netscape.com
1240477065
Added more no-line-break constraints, simplified visibility treatment, and added named function arguments
1999-11-02 21:12:04 +00:00
waldemar%netscape.com
66698acfa9
Fixed constraint positioning bug
1999-11-02 20:54:44 +00:00
waldemar%netscape.com
df52d397b6
Added basic no-line-break constraints matching JavaScript 1.x
1999-11-02 01:46:05 +00:00
waldemar%netscape.com
def01413a0
Added no-line-break constraints
1999-11-02 01:45:31 +00:00
waldemar%netscape.com
75419a6521
Fixed comment
1999-11-02 01:45:14 +00:00
waldemar%netscape.com
4ec7adb2eb
Added :no-line-break
1999-11-02 01:44:24 +00:00
waldemar%netscape.com
ffb65e0ed1
Fixed annoying use of *error-output* that would always bring the listener window to the front while compiling a grammar
1999-11-02 01:43:52 +00:00
waldemar%netscape.com
60174b9647
Changed bottom expressions to syntax error throws
1999-10-20 20:58:07 +00:00
waldemar%netscape.com
dc9f364011
Added upper-case Greek letters
1999-10-20 20:57:37 +00:00
waldemar%netscape.com
d4bbf7cd7e
Removed types from bottom expressions
1999-10-20 02:27:53 +00:00
waldemar%netscape.com
b55f9ec5ab
First Checked In.
1999-10-20 02:27:34 +00:00
waldemar%netscape.com
2990b743e1
Changed syntax of getters and setters to "get name" and "set name". Relaxed grammar constraints on definitions. Changed over to colon syntax for types. Added local visibility and block modifiers.
1999-10-20 00:46:31 +00:00
waldemar%netscape.com
f3d863d69f
Removed octal escapes. Replaced bottom by throw of syntax error.
1999-10-20 00:43:58 +00:00
waldemar%netscape.com
6a022dcba1
Removed octals. Removed rational-to-integer, which was replaced by semantic subtyping. Replaced bottom by throw of syntax error.
1999-10-20 00:43:22 +00:00
waldemar%netscape.com
8bf0421c92
Removed rational-to-integer and types in bottom calls, which were replaced by semantic subtyping
1999-10-20 00:42:17 +00:00
waldemar%netscape.com
dcf782950a
Removed rational-to-integer, which was replaced by semantic subtyping
1999-10-20 00:41:59 +00:00
waldemar%netscape.com
7c5d2c5286
Added semantic subtyping, throw, and catch
1999-10-20 00:40:55 +00:00
waldemar%netscape.com
02648df558
Fixed bug that would sometimes emit a newline between a backslash and its following escaped character
1999-10-20 00:40:04 +00:00
waldemar%netscape.com
89d2f00c13
Updated for recent semantic engine changes. Changed the meaning of (?= to match Perl.
1999-07-27 01:05:59 +00:00
waldemar%netscape.com
a47778dc21
Updated for recent semantic engine changes
1999-07-27 01:05:27 +00:00
waldemar%netscape.com
e44b2fd3a0
Implemented partial order for operator precedences. Removed global array functions and reformatted 'length' and 'empty' functions.
1999-07-27 01:03:19 +00:00
waldemar%netscape.com
b58090bf41
Implemented partial order for operator precedences. Removed global array functions and reformatted 'length' and 'empty' functions. Made lexer-actions into global function calls.
1999-07-27 01:02:21 +00:00
waldemar%netscape.com
06b9b1e365
Made lexer-actions into global function calls
1999-07-27 01:00:05 +00:00
waldemar%netscape.com
661e147d86
Added partial order library
1999-07-27 00:58:44 +00:00
waldemar%netscape.com
0c4a9632a2
Replaced :unit by :empty-10
1999-07-27 00:58:01 +00:00
waldemar%netscape.com
bb32acd59c
First Checked In.
1999-07-27 00:57:03 +00:00
waldemar%netscape.com
ddb51a591e
Fixed several semantic errors. Added (?= and (?!.
1999-06-08 00:45:49 +00:00
waldemar%netscape.com
0b0c401d33
Added statement showing number of grammar states
1999-06-08 00:44:52 +00:00
waldemar%netscape.com
c7c270736c
Simplified grammar by using lookahead constraints. Fixed \dd bugs. Made all errors occur at pattern compile time.
1999-06-07 22:00:09 +00:00
waldemar%netscape.com
0b5be030aa
Simplified grammar by using lookahead constraints.
1999-06-07 21:58:24 +00:00
waldemar%netscape.com
dfd0b680c6
Simplified grammar by using lookahead constraints. Removed requirement for an underscore before unit name.
1999-06-07 21:57:29 +00:00
waldemar%netscape.com
f5030b54ec
First Checked In.
1999-06-03 20:53:14 +00:00
waldemar%netscape.com
7b5ca98bb9
Added support for lookahead constraints
1999-06-03 20:52:04 +00:00
waldemar%netscape.com
1282a45ed9
Added general-grammar-symbol? predicate
1999-06-03 20:50:21 +00:00
waldemar%netscape.com
6f01466cb1
Moved pieces of file around
1999-06-03 20:49:13 +00:00
waldemar%netscape.com
590769e928
First working version
1999-05-17 05:11:19 +00:00
waldemar%netscape.com
62f4bd3d68
Renamed != to /= and lambda to function.
1999-05-17 05:10:41 +00:00
waldemar%netscape.com
18424368a6
Added intsets.
1999-05-17 05:10:07 +00:00
waldemar%netscape.com
9c9cc073cf
Added sets, subseq, set-nth. Renamed 'lambda' to 'function'. Fixed depictions of special global variables. Added %text depictors.
1999-05-17 05:09:44 +00:00
waldemar%netscape.com
e90d4252ee
Added sets, subseq, set-nth. Renamed 'lambda' to 'function' and '!=' to '/='.
1999-05-17 05:07:52 +00:00
waldemar%netscape.com
08871a7130
Added vector-assign, intersection, and union characters
1999-05-17 05:05:59 +00:00
waldemar%netscape.com
0757d22775
Fixed LR(1) parser state lookahead-generation bug
1999-05-17 05:05:10 +00:00
waldemar%netscape.com
3ca3afbf66
Added RegExp to load path
1999-05-17 05:04:28 +00:00
waldemar%netscape.com
419d78d507
Fixed formatting of parametrized nonterminal character classes
1999-05-17 05:04:07 +00:00
waldemar%netscape.com
e334ac7471
Moved language semantics files into subdirectories
1999-05-10 21:05:42 +00:00
waldemar%netscape.com
b5e0515a64
Added references, predefined sets of characters, and lexer state support
1999-05-10 21:04:53 +00:00
waldemar%netscape.com
ed91596cee
Added references and depict-styled-text
1999-05-10 21:03:07 +00:00
waldemar%netscape.com
9390f8a3f7
Updated to match styles.css on documentation site
1999-05-10 21:02:22 +00:00
waldemar%netscape.com
463be46354
Added headers, footers, document information, and reference stubs
1999-05-10 21:00:06 +00:00
waldemar%netscape.com
5c06de3bfc
Added references, :wrap, :none
1999-05-10 20:58:56 +00:00
waldemar%netscape.com
9df8d3d924
Added references
1999-05-10 20:57:17 +00:00
waldemar%netscape.com
ea6ab3938d
Added references, unfinished YACC input generator
1999-05-10 20:56:47 +00:00
waldemar%netscape.com
e727ef0bd6
Added references, default actions, combined rules
1999-05-10 20:55:59 +00:00
waldemar%netscape.com
bc45fb621d
Added references, combined rules
1999-05-10 20:54:25 +00:00
waldemar%netscape.com
8d82dede5e
First Checked In.
1999-05-10 20:52:58 +00:00
waldemar%netscape.com
a3d2832a9d
File Removed.
1999-05-10 20:50:37 +00:00
waldemar%netscape.com
f24012b095
Added traditional and super and changed [] to allow multiple arguments
1999-02-19 04:28:16 +00:00
waldemar%netscape.com
770beb7c2f
Added getter, setter, with, default arguments, and renamed declarations to definitions
1999-02-12 04:59:19 +00:00
waldemar%netscape.com
b438df047a
Added option to turn off line breaks within a tag
1999-02-12 04:57:49 +00:00
waldemar%netscape.com
2170e07fc9
First complete release
1999-02-10 06:42:20 +00:00
waldemar%netscape.com
da47404fd1
Reorganized left-side-expression and suppressed unused nonterminal warnings
1999-02-10 06:41:43 +00:00
waldemar%netscape.com
db5f8596aa
Added :spc
1999-02-10 06:40:53 +00:00
waldemar%netscape.com
331b7966a8
Added support for excluding some nonterminals from grammar
1999-02-10 06:39:58 +00:00
waldemar%netscape.com
40f5437810
File Removed.
1999-02-06 03:25:19 +00:00
waldemar%netscape.com
951d8be6cf
First Checked In.
1999-02-06 03:21:09 +00:00
waldemar%netscape.com
685711e0ef
Removed spaces from file names
1999-02-06 03:20:35 +00:00
waldemar%netscape.com
0def3457bd
First Checked In.
1999-01-30 01:19:00 +00:00