Commit Graph

983 Commits

Author SHA1 Message Date
waldemar%netscape.com
71f15ab5d0 Added subset-10 and subset-eq-10 2001-08-16 00:37:39 +00:00
waldemar%netscape.com
528e7cbb0d Removed 'type' keyword before depicted type definitions 2001-08-16 00:37:03 +00:00
pschwartau%netscape.com
06b7f5c656 Fixing an error. 2001-08-15 21:20:05 +00:00
pschwartau%netscape.com
ee08055238 Improving readability. 2001-08-15 21:19:21 +00:00
pschwartau%netscape.com
cd32024997 Improved status message. 2001-08-15 21:18:49 +00:00
pschwartau%netscape.com
159ee6f53b Added object typing. 2001-08-15 20:57:23 +00:00
beard%netscape.com
d7e9336828 Added MPW tool targets. 2001-08-15 18:59:54 +00:00
beard%netscape.com
612bf202c0 Fixed XP_MAC_MPW code rot. 2001-08-15 18:59:34 +00:00
beard%netscape.com
30c43d1d9b Prefix files for MPW targets. 2001-08-15 18:58:31 +00:00
beard%netscape.com
de65efa606 Updated for latest CodeWarrior tools. 2001-08-15 18:27:40 +00:00
pschwartau%netscape.com
2ba1b45e77 Corrected an error in Section 6 of test. 2001-08-15 18:07:03 +00:00
rogerl%netscape.com
5472b4b6eb Fixed position for 'this' error message. 2001-08-15 01:05:05 +00:00
rogerl%netscape.com
fe5584b4f7 Fixed detection of unchecked functions as function literals. 2001-08-15 00:59:13 +00:00
pschwartau%netscape.com
840b139f9b Initial add. 2001-08-14 23:32:56 +00:00
pschwartau%netscape.com
f477b0190b Minor corrections. 2001-08-14 23:23:33 +00:00
pschwartau%netscape.com
a5cbb50aa4 Corrected a mistake: any use of 'this' inside a class must be contained in a function. 2001-08-14 23:17:07 +00:00
pschwartau%netscape.com
9870164d2b Corrected a mistake: any 'this' inside a class must be wrapped in a function. 2001-08-14 22:33:11 +00:00
pschwartau%netscape.com
5e9cc612e0 Removed extraneous code from the testcase. 2001-08-14 22:24:12 +00:00
pschwartau%netscape.com
fce119515f Correcting an error: 'this' should have been contained inside constructor functions. 2001-08-14 21:55:19 +00:00
rogerl%netscape.com
31ea7a8d8e Fixed illegal use of 'this' in instance methods. Fixed bug in getType for
undefined value.
2001-08-14 21:02:38 +00:00
pschwartau%netscape.com
7489c41d80 Correcting an error in the test. Added comments to explain. 2001-08-14 20:28:06 +00:00
pschwartau%netscape.com
aee71e6700 Added comment. 2001-08-14 04:18:24 +00:00
pschwartau%netscape.com
49a88bf6a8 Initial add. 2001-08-14 04:12:21 +00:00
pschwartau%netscape.com
6dc771167d Correcting a mistake: "prototype" functions should be "constructor" functions. 2001-08-14 03:22:07 +00:00
pschwartau%netscape.com
0fa8d70e3e Added many new cases to test. 2001-08-14 02:19:08 +00:00
rogerl%netscape.com
94ae435647 Fixed missing function name/class info crashes. 2001-08-13 23:14:56 +00:00
waldemar%netscape.com
0974f0ff72 Brought up to date 2001-08-11 06:53:35 +00:00
waldemar%netscape.com
048ea745b7 Added semicolon after action declarations 2001-08-11 06:53:09 +00:00
waldemar%netscape.com
2059e63356 Fixed handling of the 'private' attribute 2001-08-11 00:32:05 +00:00
waldemar%netscape.com
fc26c991f8 Removed 3_in lexer unit syntax 2001-08-10 23:51:00 +00:00
waldemar%netscape.com
1afddbb512 Merged with branch 2001-08-10 23:50:27 +00:00
waldemar%netscape.com
717626b7d7 Added truncate-finite-float64 and compare 2001-08-10 23:27:43 +00:00
waldemar%netscape.com
a016f1f7ac Renamed truncate-float64 to truncate-finite-float64 2001-08-10 23:26:50 +00:00
waldemar%netscape.com
291a314417 Put back instanceof and made minor superficial changes 2001-08-10 23:25:41 +00:00
waldemar%netscape.com
ff227533d2 Removed 3_in notation 2001-08-10 23:24:39 +00:00
waldemar%netscape.com
e51a063159 Eliminated local-variable style 2001-08-10 23:24:11 +00:00
waldemar%netscape.com
a0f333cb35 Fixed handling of infinities 2001-08-10 23:23:42 +00:00
pschwartau%netscape.com
ebd2e13b32 bad type for delete index operand. fixed type warning. 2001-08-10 00:29:48 +00:00
rogerl%netscape.com
83613f0632 Fixed bug in short value instruction operand printing. 2001-08-10 00:25:47 +00:00
rogerl%netscape.com
7251bbcce5 Fixed operator overloading for indexing operators. 2001-08-10 00:21:32 +00:00
pschwartau%netscape.com
c8f3d7e9bd Initial add 2001-08-07 19:46:26 +00:00
pschwartau%netscape.com
22a4e8c2e1 Initial add. 2001-08-07 19:45:15 +00:00
rogerl%netscape.com
ceca52b8d4 Merging JS2_DIKDIK_BRANCH macbuild related stuff. 2001-08-07 01:40:39 +00:00
rogerl%netscape.com
edead61a96 Merging DIKDIK_BRANCH into main line. 2001-08-07 01:21:11 +00:00
rogerl%netscape.com
f9c1de76b5 Removing stale versions 2001-08-06 22:34:29 +00:00
rogerl%netscape.com
cdef235ef8 More branch merging. 2001-08-06 22:25:07 +00:00
rogerl%netscape.com
9bc5bf1171 More branch merging. 2001-08-06 22:06:15 +00:00
rogerl%netscape.com
e32d30ddd7 More branch merging. 2001-08-06 21:59:04 +00:00
rogerl%netscape.com
3525486520 More branch merging 2001-08-06 21:57:00 +00:00
rogerl%netscape.com
ae24adc6fe Merging in from DIKDIK_BRANCH 2001-08-06 21:53:33 +00:00
rogerl%netscape.com
d243c700a2 Removing jsc (again, hopefully correctly) 2001-08-06 20:14:07 +00:00
waldemar%netscape.com
7d333d2476 Jul 24 syntax changes 2001-07-26 23:38:46 +00:00
waldemar%netscape.com
f0b256cbda Changed instanceof to is and removed no-line-break constraint after use 2001-06-30 02:29:52 +00:00
waldemar%netscape.com
5345e3b790 Added 'is' reserved word 2001-06-30 02:29:08 +00:00
waldemar%netscape.com
bce9c0f3c5 Made parenthesized field names js2-only. Renamed language directives to pragmas and reworked their syntax as well as that of use and import directives. 2001-06-16 00:41:34 +00:00
waldemar%netscape.com
2d0491abf8 Updated parser: attributes can be expressions, added new attributes, disallowed nested ::'s, deleted Eval nodes, added const and void nodes, deleted package attribute, deleted super::id syntax, and added super, super(expr), and super(args) syntax 2001-06-13 21:24:27 +00:00
waldemar%netscape.com
08fd630ec6 Added RTF cleanup utilities and a hack to read and write improper RTF commands that contain upper-case letters. 2001-06-09 01:04:16 +00:00
waldemar%netscape.com
aaf2428b75 Interchanged Definition and AnnotatedDefinition. 2001-06-09 01:03:10 +00:00
waldemar%netscape.com
97b9e110fc Big switchover to Algol-style semantics 2001-04-12 04:33:39 +00:00
waldemar%netscape.com
579cc4de87 Removed ' 2001-04-12 04:32:52 +00:00
waldemar%netscape.com
17e188ff36 Brought up to date 2001-04-12 04:32:17 +00:00
waldemar%netscape.com
30c7167983 Switchover to Algol-style semantics 2001-04-12 04:31:46 +00:00
rogerl%netscape.com
3a27d3d199 Tentative fix for build releated issues. 2001-03-27 22:06:21 +00:00
rogerl%netscape.com
3e2bcee73e Tentative fix for build related issues. 2001-03-27 22:05:48 +00:00
jeff.dyer%compilercompany.com
bce6c428ce Adding JSILGenerator code 2001-03-26 22:37:50 +00:00
jeff.dyer%compilercompany.com
06c7ca59e6 Updating JSC with framework for semantics in cpp. 2001-03-26 22:31:11 +00:00
waldemar%netscape.com
bb582ee77f Added support for more html elements 2001-03-09 02:12:21 +00:00
waldemar%netscape.com
862d0ed652 Made read-rtf non-recursive to avoid stack overflows 2001-03-09 02:11:13 +00:00
waldemar%netscape.com
0c17520a53 Renamed token to input-element 2001-03-09 02:10:15 +00:00
waldemar%netscape.com
a97d3bb226 Changed titles of generated html and rtf files 2001-03-09 02:09:50 +00:00
rogerl%netscape.com
c3ec6e411e Fixed increment bug. Added mPrivate member and supported native getter &
setter functions for NAME opcodes.
2001-03-05 21:49:23 +00:00
waldemar%netscape.com
f77cfb9487 More expression semantics 2001-03-02 23:15:54 +00:00
waldemar%netscape.com
ad5a07b445 Renamed string-equal to string= 2001-03-02 23:15:33 +00:00
waldemar%netscape.com
4be14d986e Added ^, hex, mod, and string comparison operators 2001-03-02 23:14:11 +00:00
waldemar%netscape.com
bc4670ec9f Initial version 2001-03-01 05:37:45 +00:00
waldemar%netscape.com
54b30f1c88 Added progn and compacted the formatting of several forms 2001-03-01 05:36:32 +00:00
waldemar%netscape.com
8e75d7a4d8 Renamed double to float64, added progn, and added support for ? within rules 2001-03-01 05:35:44 +00:00
waldemar%netscape.com
229bb3ddec Brought up to date 2001-03-01 05:34:37 +00:00
waldemar%netscape.com
b320b02aac Added support for .. in directory paths 2001-03-01 05:34:14 +00:00
waldemar%netscape.com
58c4444e8a Added save-block-style 2001-03-01 05:33:45 +00:00
waldemar%netscape.com
73265b24c5 Added save-block-style and *html-to-rtf-definitions* 2001-03-01 05:33:25 +00:00
waldemar%netscape.com
abad369387 Renamed double to float64 2001-03-01 05:32:08 +00:00
waldemar%netscape.com
406a81e0e9 Started work on expression semantics 2001-03-01 05:31:28 +00:00
waldemar%netscape.com
0aa779d4e5 Fixed terminal-action bug 2001-03-01 05:29:57 +00:00
rogerl%netscape.com
f27fab97bf Need to pass context now. 2001-02-23 00:23:53 +00:00
rogerl%netscape.com
454c9182c0 Added toBoolean handling. Fixed toString & toPrimitive to match spec. 2001-02-23 00:18:46 +00:00
waldemar%netscape.com
574dc26508 Replaced \Q by \_ 2001-02-23 00:04:17 +00:00
rogerl%netscape.com
df867a03d1 Fixed unused vars. Added string literal as alternative function name.
Implemented invokeCall to use override.
2001-02-20 21:39:59 +00:00
rogerl%netscape.com
ded1228e70 New icodes to handle instanceof/is. Moved operator name handling to icg
for now (pending a semantics phase). Added a generic new and prototype
setting.
2001-02-16 23:15:34 +00:00
rogerl%netscape.com
8ef1772c5d Cleaning up all over. New Operator enumeration. 2001-02-14 23:54:27 +00:00
beard%netscape.com
272a4ebfee Fixed crashing bugs by using PowerPC struct alignment. Reorganized project to link against Mac libraries, rather than having JS2.lib bring them in. 2001-02-14 18:38:12 +00:00
beard%netscape.com
521e3d1e7c Fixing assertion in test case, so js2 shell will start correctly. 2001-02-14 18:30:03 +00:00
beard%netscape.com
3edaa62d38 Fixed crashing bugs by using PowerPC struct alignment. 2001-02-13 05:05:59 +00:00
beard%netscape.com
7a69829126 Took out other libraries, transferred to driver projects. 2001-02-13 04:29:55 +00:00
beard%netscape.com
57d1645756 friend class ICodeModule; not friend ICodeModule; 2001-02-13 03:59:09 +00:00
rogerl%netscape.com
2e1e04b1b0 Added new icodes for xcrement ops, unary ops etc. Changed override
resolution mechanism.
2001-02-10 00:45:45 +00:00
rginda%netscape.com
0b632f7a00 adding .prefix files for the tests 2001-02-09 23:32:03 +00:00
rginda%netscape.com
628e5ebabd changes to get the tests building again on the mac 2001-02-09 23:31:11 +00:00
rogerl%netscape.com
56c014f548 Added WIN32 warning suppression pragma. 2001-02-09 19:11:04 +00:00
rogerl%netscape.com
9c1acceef4 Added pragma to disable overlong identifiers warning 2001-02-09 19:10:18 +00:00
rogerl%netscape.com
61612f3f44 Turned on RTTI 2001-02-09 19:09:23 +00:00
waldemar%netscape.com
c1f0f50f76 A few new semantics 2001-02-09 05:00:28 +00:00
rginda%netscape.com
72b7a04c48 mac build goop for tests/cpp and utilities.cpp fix for debug targets on mac 2001-02-09 00:08:22 +00:00
rginda%netscape.com
ff2bfe5809 Changes to get mac building the js2 library 2001-02-08 23:05:53 +00:00
rginda%netscape.com
43a1235c75 Turn on RTTI 2001-02-08 21:48:19 +00:00
rginda%netscape.com
b219c01b86 Adding windows build goop for the tests 2001-02-08 21:38:52 +00:00
rginda%netscape.com
31b6ee0ac8 Changes to get the lib building in vcc 2001-02-08 21:13:16 +00:00
rginda%netscape.com
54ddb30990 ok, let's try that again. 2001-02-08 21:04:06 +00:00
rginda%netscape.com
0b6511d8b3 Changed vc build to make a library instead of an exe 2001-02-08 20:56:56 +00:00
rginda%netscape.com
da8380bcd8 add some directories to the common makefile 2001-02-08 06:08:42 +00:00
rginda%netscape.com
7ade31ea4f is there no way to combine two .a files? 2001-02-08 06:06:33 +00:00
rginda%netscape.com
63b24fce21 changes to get js2_shell to build 2001-02-08 06:01:54 +00:00
rginda%netscape.com
b1f74a06c5 Changes to get the back end building again.
Removed "dependencies" file (part of old make system.)
2001-02-08 05:02:10 +00:00
rginda%netscape.com
e2301c3916 removing these tests, they've been relocated to js2/tests/js 2001-02-08 04:59:21 +00:00
rginda%netscape.com
165cf7ee76 changes to add runtime code into the library 2001-02-08 00:48:12 +00:00
rginda%netscape.com
c57bae9e75 fixing filenames, none of these files had prior history. 2001-02-08 00:14:20 +00:00
rginda%netscape.com
39356dd364 ok, that was silly, removing generated Makefiles 2001-02-07 21:33:02 +00:00
rginda%netscape.com
e4ba7a1cd9 Adding Makefiles 2001-02-07 21:29:36 +00:00
rginda%netscape.com
20d35dc639 adding automake file 2001-02-07 21:27:25 +00:00
rginda%netscape.com
1a4b241ed2 initial checkin for source reorg. leaf copied mozilla/js/js2 to mozilla/js2/src, mozilla/js/js2/jsc to mozilla/js2/jsc, mozilla/js/js2/tools to mozilla/js2/tools, and mozilla/js/semantics to mozilla/js2/semantics
unix now has an autoconf based make system.  currently the new make system only makes parser related files, back end stuff to be added soon.

mac and windows makesystems will be checked in next.

parser.cpp has been factored into token.*, lexer.*, and parser.*
utilities.cpp has been factored into formatter.*, exception.*, mem.*, strings.*,ds.h, stlcfg.h, and algo.h
2001-02-07 21:21:22 +00:00
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