Commit Graph

813 Commits

Author SHA1 Message Date
waldemar%netscape.com
8f98bed0e7 Added more semantics 2001-02-07 05:08:44 +00:00
waldemar%netscape.com
d341117db6 Added read-eval-print loop 2001-02-07 05:08:09 +00:00
waldemar%netscape.com
ae3e51a0c2 Updated to correspond to js2 site 2001-02-07 05:07:37 +00:00
waldemar%netscape.com
d0363e3b99 Added :semantic-comment and :vector-construct. 2001-02-07 05:07:05 +00:00
waldemar%netscape.com
42217499f5 Added vector comprehensions. Changed compiler to emit globals of functional type into the lisp function rather than value slots of symbols; this simplifies debugging. 2001-02-07 05:06:22 +00:00
waldemar%netscape.com
ffce7baf94 Added vector comprehensions and extra mode parameter for %section, %subsection, and %text. 2001-02-07 05:05:39 +00:00
rogerl%netscape.com
cb289ae2e2 Fixed case, sorry 2001-02-02 01:08:06 +00:00
rogerl%netscape.com
5276f5b818 Added ICodeEmitter 2001-02-02 01:06:30 +00:00
rogerl%netscape.com
7ea0f3cbba Added icodeEmitter to VC++ build 2001-02-02 01:05:38 +00:00
rogerl%netscape.com
61579b22f3 Re-structuring some ICG details. 2001-02-02 01:04:22 +00:00
waldemar%netscape.com
76e61d873f Fixed comment 2001-02-01 03:42:25 +00:00
waldemar%netscape.com
f2ae41c491 Added make-and-compile-grammar cache 2001-02-01 03:41:54 +00:00
waldemar%netscape.com
0bcf6402f0 Added hash-table-= 2001-02-01 03:41:18 +00:00
waldemar%netscape.com
76d55e8bc2 Added the id type 2001-02-01 03:40:56 +00:00
waldemar%netscape.com
a53b1af653 Removed namespace inheritance. Begun implementing semantics. 2001-02-01 03:39:26 +00:00
rogerl%netscape.com
23fda0a73e Removed unused parameter. 2001-02-01 01:06:53 +00:00
rogerl%netscape.com
f13e0741a0 Changed Cast to take a JSValue containing a type instead of type directly.
Added LoadType to help support that. Also added LoadNull.
2001-02-01 00:59:21 +00:00
jeff.dyer%compilercompany.com
66539fc886 First cut a xml code generation. 2001-01-26 23:55:32 +00:00
jeff.dyer%compilercompany.com
6b02950cc2 Unneeded file 2001-01-26 23:46:06 +00:00
waldemar%netscape.com
588e4ffbf6 Added .() operator 2001-01-26 07:33:32 +00:00
rogerl%netscape.com
9250f428f3 Fixes to support ICodeModule operand type (via name in global object) and
TRUE/FALSE/NULL/CLASS instructions.
2001-01-25 23:34:33 +00:00
rogerl%netscape.com
14a70a0c8c Added <function> at top level and example thereof. 2001-01-20 00:44:51 +00:00
rogerl%netscape.com
1a5e400f3e Fixed gcc warnings. Added .xml test case. 2001-01-20 00:02:56 +00:00
rogerl%netscape.com
8d21e78e1d Fixes and enhancements to get class references, constructors and scripts
working from .xml input.
2001-01-19 23:56:37 +00:00
beard%netscape.com
b47343d272 fixed no-prototype function warning. 2001-01-12 20:32:19 +00:00
waldemar%netscape.com
87ce1a1e6a Separated statements into statements, diretives, and definitions 2001-01-12 07:33:19 +00:00
rogerl%netscape.com
d13899b06c New (incomplete but functional) implementation of operator overriding. 2001-01-11 00:03:05 +00:00
waldemar%netscape.com
d7f7cfe179 Simplified use-name-patterns 2001-01-10 02:50:13 +00:00
rogerl%netscape.com
2c115aa7b4 Fix for VC++ compile. 2001-01-02 19:49:16 +00:00
beard%netscape.com
4ca46948df another pass over LexUtils::cmp_nocase(). 2000-12-30 08:08:12 +00:00
beard%netscape.com
41d32a622f fix unsigned/signed comparison warnings 2000-12-30 07:55:01 +00:00
beard%netscape.com
2d8bdb7992 Use GC-safe vector of JSFunction* to hold getters/setters. 2000-12-30 07:46:18 +00:00
beard%netscape.com
661e422910 no need to copy JSString values into String values. 2000-12-30 07:06:03 +00:00
rogerl%netscape.com
61eb9f446d Fixed bit-rot in exception handling, removed unused locals. 2000-12-30 01:13:06 +00:00
rogerl%netscape.com
6676b0784f re-ordered members wrt init sequence. 2000-12-30 01:08:31 +00:00
waldemar%netscape.com
3e8e4d48fc Revamped the syntax for calling superconstructors and tightened up the syntax for the super operator 2000-12-22 02:02:14 +00:00
waldemar%netscape.com
f11df45168 Simplified postfix-expressions and use-exclude-include 2000-12-21 00:04:52 +00:00
waldemar%netscape.com
664c11c819 Changed 'operator' from a keyword to an attribute. 2000-12-19 01:57:13 +00:00
waldemar%netscape.com
666b8c7b81 Removed 'operator' non-reserved word 2000-12-19 01:56:36 +00:00
beard%netscape.com
048ef40a40 added newest source files, to use the icode assembler. (Pro6 update) 2000-12-16 07:01:50 +00:00
beard%netscape.com
da3f96b69c added newest source files, to use the icode assembler. 2000-12-16 07:01:22 +00:00
beard%netscape.com
23425c7dea use string8::difference_type rather than uint for difference between iterators, cast uint32 to int32 to remove warnings. 2000-12-16 06:57:58 +00:00
beard%netscape.com
50f3452e77 fixed return value warning by moving return statement. 2000-12-16 06:56:37 +00:00
beard%netscape.com
27888b7f72 warnings, explicit use of JSValue constructor. 2000-12-16 06:54:40 +00:00
waldemar%netscape.com
157324e348 Converted to CodeWarrior 6 and fixed errors 2000-12-16 01:14:55 +00:00
waldemar%netscape.com
a86b8ebf19 Fixed C++ errors 2000-12-16 01:14:36 +00:00
jeff.dyer%compilercompany.com
80b7ec4f9f Revised readme and removed CommandLine parser (for now). 2000-12-16 00:50:25 +00:00
jeff.dyer%compilercompany.com
9f31ccbf60 Removing Util.java. 2000-12-16 00:43:05 +00:00
jeff.dyer%compilercompany.com
144aa7a24d Removed dependency on sun.tools packages. 2000-12-16 00:42:16 +00:00
rogerl%netscape.com
c858f0c335 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
beard%netscape.com
e16204d82f Converted to an application for testing. 2000-12-15 01:26:06 +00:00
beard%netscape.com
364b0b1752 JDK 1.1 compatibility. Should flesh out the CommandLine class to do what sun.tools.util.CommandLine does. 2000-12-15 01:09:58 +00:00
beard%netscape.com
d140c9c45f JDK 1.1 compatibility. 2000-12-15 01:06:50 +00:00
beard%netscape.com
9517cfdbab build system for Mac using CW Pro 6. 2000-12-15 01:05:32 +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
jeff.dyer%compilercompany.com
271600c65f Corrupt. Removing. 2000-12-06 19:01:21 +00:00
jeff.dyer%compilercompany.com
609cdf48ec Removing, corrupt. 2000-12-06 18:59:39 +00:00
jeff.dyer%compilercompany.com
b75ea2c533 Drawing of compile-time values. 2000-12-06 18:37:20 +00:00
jeff.dyer%compilercompany.com
3c956b5aec Fixed test to be correct js2. 2000-12-06 18:30:18 +00:00
jeff.dyer%compilercompany.com
c8f0271f30 Fixes to the type system and error handler. 2000-12-06 18:27:42 +00:00
jeff.dyer%compilercompany.com
d6b97f2277 Fixed type bugs and header comments. 2000-12-04 18:47:28 +00:00
waldemar%netscape.com
1cb8489414 Made 'super' into an operator. Added syntax for operator overloading. 2000-12-02 09:10:12 +00:00
waldemar%netscape.com
d5ecb8fde4 Added 'operator' non-reserved word 2000-12-02 09:09:41 +00:00
jeff.dyer%compilercompany.com
9187c93f00 Fixed a couple typos. 2000-12-02 02:04:51 +00:00
jeff.dyer%compilercompany.com
f9a2854819 Updated to reflect latest changes. 2000-12-02 01:49:18 +00:00
jeff.dyer%compilercompany.com
8d92d194b7 Import of Initial Source from MVCC 2000-12-02 00:46:31 +00:00
waldemar%netscape.com
72079cafdb Added support for white space. Removed initial / production. 2000-11-21 04:07:05 +00:00
waldemar%netscape.com
bcfad386e1 Renamed simple to span 2000-11-21 04:06:44 +00:00
beard%netscape.com
8831ac82be updated dependencies 2000-11-21 00:31:10 +00:00
beard%netscape.com
b36e637399 added explicit getString() method to StringFormatter, and removed operator String() methods. 2000-11-21 00:29:39 +00:00
beard%netscape.com
73fda2e03f Made getStaticSlot() static, to remove warning. 2000-11-21 00:15:39 +00:00
beard%netscape.com
9c337d0b4d fixing unsigned/signed conversion warnings. 2000-11-21 00:14:55 +00:00
beard%netscape.com
fa3c57b737 CW Pro 6 compatibility. 2000-11-18 03:14:07 +00:00
rogerl%netscape.com
e5147e7dc9 Added lexutils & exception... to default build. 2000-11-16 23:58:53 +00:00
rogerl%netscape.com
d4fc752316 Example from Waldemar's spec. 2000-11-16 23:50:37 +00:00
rogerl%netscape.com
5e1372ac60 Added BindThis argument, removed 'this' arg from Call. 2000-11-16 23:49:29 +00:00
rogerl%netscape.com
e73ca123f0 Added notion of binding a 'this' to a method to construct a mini-closure
for call semantics. Fixed MSVC warnings from lexutils. Added BindThis
instructionand removed 'this' from Call instruction (is now extracted
from target argument).
2000-11-16 23:48:42 +00:00
rginda%netscape.com
2c4646c800 refactored lexer bits from icodeasm into lexutils
refactored exceptions from icodeasm into exception*
fixed LeadingCap method names to be interCapped
added string8 and string16 typedefs (as opposed to string vs String)
2000-11-14 03:11:54 +00:00
jeff.dyer%compilercompany.com
7c6f29466f Fix the first startup test. 2000-11-08 21:05:58 +00:00
beard%netscape.com
be65966d92 Replaced occurrences of $$, $1, $2 with result, first, second. CodeWarrior doesn't like $ characters in identifiers. 2000-11-08 19:50:39 +00:00
rogerl%netscape.com
ec89b08c8b Fixed warnings & bogus qualifier. 2000-11-07 01:09:45 +00:00
rogerl%netscape.com
d2f5ecf8ff Fixed statics and constructors bitrot. 2000-11-07 00:59:27 +00:00
rogerl%netscape.com
3e4ebc2d54 More tests and changed 'verify' to live separately. 2000-11-07 00:58:42 +00:00
rogerl%netscape.com
30fd08d267 Testcase for adding setter to non-final field. 2000-11-06 23:00:00 +00:00
rogerl%netscape.com
67413c204e 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
waldemar%netscape.com
3bc827cfed Defined UseIncludesExcludes. Removed support for a:🅱️:c. 2000-11-04 10:47:47 +00:00
waldemar%netscape.com
8b66cf247e Added 'include' and 'exclude' non-reserved words 2000-11-04 10:46:24 +00:00
rogerl%netscape.com
2322a26c61 More tests 2000-11-03 02:42:23 +00:00
rogerl%netscape.com
06dade6b2e Fixed adding setter to virtual inherited field. 2000-11-03 02:42:01 +00:00
jeff.dyer%compilercompany.com
125d51cbe9 Don't care if required named come after optional named parameters. 2000-11-03 01:44:30 +00:00
rogerl%netscape.com
854f8c34f8 Fixed bogus rest reference, added named tests. 2000-11-02 19:40:42 +00:00
rogerl%netscape.com
0ad52b2c9b Fixed signed/unsigned whinage. 2000-11-01 02:04:04 +00:00
rogerl%netscape.com
25a870f386 Simple call tests. 2000-11-01 01:55:46 +00:00
rogerl%netscape.com
25d50d736d Fixed rest parameter index handling. 2000-11-01 01:55:13 +00:00
rogerl%netscape.com
c6dbe02e61 Fixed signed/unsigned whine. 2000-11-01 01:48:15 +00:00
rogerl%netscape.com
c8d1c1d0bb Fixed JSArray for 1.5 semantics stuff. Changed readEvalFile to stop
doing line at a time nonsense. Fixed ExprNode::Index cases to use
InvokeExprNode instead of Binary.
2000-11-01 01:39:43 +00:00
waldemar%netscape.com
76e8bcd8d6 Allowed multiple units in a unit expression 2000-10-28 05:55:47 +00:00
waldemar%netscape.com
e84153e3fc Renamed OrdinaryInitialIdentifierCharacter and OrdinaryContinuingIdentifierCharacter to InitialIdentifierCharacter and ContinuingIdentifierCharacter 2000-10-28 05:55:19 +00:00
waldemar%netscape.com
4489b4c7f0 Initial version 2000-10-28 05:54:44 +00:00
waldemar%netscape.com
8df2f5a1c4 Added JS20/Units 2000-10-28 05:53:23 +00:00