Граф коммитов

1085 Коммитов

Автор SHA1 Сообщение Дата
rogerl%netscape.com 5ab74c2310 More branch merging 2001-08-06 21:57:00 +00:00
rogerl%netscape.com 62c3650311 Merging in from DIKDIK_BRANCH 2001-08-06 21:53:33 +00:00
rogerl%netscape.com a4301e63dd Removing jsc (again, hopefully correctly) 2001-08-06 20:14:07 +00:00
waldemar%netscape.com 3e4c7076a4 Jul 24 syntax changes 2001-07-26 23:38:46 +00:00
waldemar%netscape.com 8e38044aab Changed instanceof to is and removed no-line-break constraint after use 2001-06-30 02:29:52 +00:00
waldemar%netscape.com c8e597f524 Added 'is' reserved word 2001-06-30 02:29:08 +00:00
waldemar%netscape.com e3493c0237 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 c3cb31ba54 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 7d72a7065d 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 79a0cd28c9 Interchanged Definition and AnnotatedDefinition. 2001-06-09 01:03:10 +00:00
waldemar%netscape.com 8cfc11f0ad Big switchover to Algol-style semantics 2001-04-12 04:33:39 +00:00
waldemar%netscape.com cfa454de93 Removed ' 2001-04-12 04:32:52 +00:00
waldemar%netscape.com bdb8a533f6 Brought up to date 2001-04-12 04:32:17 +00:00
waldemar%netscape.com dacc51531a Switchover to Algol-style semantics 2001-04-12 04:31:46 +00:00
rogerl%netscape.com c44ee93288 Tentative fix for build releated issues. 2001-03-27 22:06:21 +00:00
rogerl%netscape.com c963d9e017 Tentative fix for build related issues. 2001-03-27 22:05:48 +00:00
jeff.dyer%compilercompany.com 81f35ba810 Adding JSILGenerator code 2001-03-26 22:37:50 +00:00
jeff.dyer%compilercompany.com dc352e6fb6 Updating JSC with framework for semantics in cpp. 2001-03-26 22:31:11 +00:00
waldemar%netscape.com 3b9974b135 Added support for more html elements 2001-03-09 02:12:21 +00:00
waldemar%netscape.com 48b2bd5c37 Made read-rtf non-recursive to avoid stack overflows 2001-03-09 02:11:13 +00:00
waldemar%netscape.com d5c2386002 Renamed token to input-element 2001-03-09 02:10:15 +00:00
waldemar%netscape.com 1ae510f12c Changed titles of generated html and rtf files 2001-03-09 02:09:50 +00:00
rogerl%netscape.com 1bde7bec2a 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 5c2b8d3fe3 More expression semantics 2001-03-02 23:15:54 +00:00
waldemar%netscape.com bfa286f4b9 Renamed string-equal to string= 2001-03-02 23:15:33 +00:00
waldemar%netscape.com 62eb18c67b Added ^, hex, mod, and string comparison operators 2001-03-02 23:14:11 +00:00
waldemar%netscape.com d1f86a5e67 Initial version 2001-03-01 05:37:45 +00:00
waldemar%netscape.com 8a866109f1 Added progn and compacted the formatting of several forms 2001-03-01 05:36:32 +00:00
waldemar%netscape.com 846a2fd99f Renamed double to float64, added progn, and added support for ? within rules 2001-03-01 05:35:44 +00:00
waldemar%netscape.com 41a560338f Brought up to date 2001-03-01 05:34:37 +00:00
waldemar%netscape.com 04a6603f9c Added support for .. in directory paths 2001-03-01 05:34:14 +00:00
waldemar%netscape.com 308c3e3514 Added save-block-style 2001-03-01 05:33:45 +00:00
waldemar%netscape.com 1f073c5d4f Added save-block-style and *html-to-rtf-definitions* 2001-03-01 05:33:25 +00:00
waldemar%netscape.com deb4e04838 Renamed double to float64 2001-03-01 05:32:08 +00:00
waldemar%netscape.com d3d717ba33 Started work on expression semantics 2001-03-01 05:31:28 +00:00
waldemar%netscape.com 7aeec669bc Fixed terminal-action bug 2001-03-01 05:29:57 +00:00
rogerl%netscape.com 35825b2bf5 Need to pass context now. 2001-02-23 00:23:53 +00:00
rogerl%netscape.com 24c8b934df Added toBoolean handling. Fixed toString & toPrimitive to match spec. 2001-02-23 00:18:46 +00:00
waldemar%netscape.com c0b6539e0f Replaced \Q by \_ 2001-02-23 00:04:17 +00:00
rogerl%netscape.com ec63aa10fd 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 085f99a539 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 f2ed6c0f4a Cleaning up all over. New Operator enumeration. 2001-02-14 23:54:27 +00:00
beard%netscape.com a5bc14a2ad 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 0e29b661a3 Fixing assertion in test case, so js2 shell will start correctly. 2001-02-14 18:30:03 +00:00
beard%netscape.com 8af9421767 Fixed crashing bugs by using PowerPC struct alignment. 2001-02-13 05:05:59 +00:00
beard%netscape.com b39234a73a Took out other libraries, transferred to driver projects. 2001-02-13 04:29:55 +00:00
beard%netscape.com b2024b30c1 friend class ICodeModule; not friend ICodeModule; 2001-02-13 03:59:09 +00:00
rogerl%netscape.com 8325fd72aa Added new icodes for xcrement ops, unary ops etc. Changed override
resolution mechanism.
2001-02-10 00:45:45 +00:00
rginda%netscape.com 53c12bbf5e adding .prefix files for the tests 2001-02-09 23:32:03 +00:00
rginda%netscape.com 3d087768a1 changes to get the tests building again on the mac 2001-02-09 23:31:11 +00:00
rogerl%netscape.com 8852bd4828 Added WIN32 warning suppression pragma. 2001-02-09 19:11:04 +00:00
rogerl%netscape.com d568d40910 Added pragma to disable overlong identifiers warning 2001-02-09 19:10:18 +00:00
rogerl%netscape.com 5fb0a8ee35 Turned on RTTI 2001-02-09 19:09:23 +00:00
waldemar%netscape.com de5e2988fc A few new semantics 2001-02-09 05:00:28 +00:00
rginda%netscape.com 2c018ad0a6 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 deab930eaf Changes to get mac building the js2 library 2001-02-08 23:05:53 +00:00
rginda%netscape.com f7ef71585e Turn on RTTI 2001-02-08 21:48:19 +00:00
rginda%netscape.com c7680f76f8 Adding windows build goop for the tests 2001-02-08 21:38:52 +00:00
rginda%netscape.com c7d9f91b1a Changes to get the lib building in vcc 2001-02-08 21:13:16 +00:00
rginda%netscape.com b9c5352994 ok, let's try that again. 2001-02-08 21:04:06 +00:00
rginda%netscape.com a55364d6c8 Changed vc build to make a library instead of an exe 2001-02-08 20:56:56 +00:00
rginda%netscape.com 96828862d6 add some directories to the common makefile 2001-02-08 06:08:42 +00:00
rginda%netscape.com 60316c588b is there no way to combine two .a files? 2001-02-08 06:06:33 +00:00
rginda%netscape.com 7c1ad74353 changes to get js2_shell to build 2001-02-08 06:01:54 +00:00
rginda%netscape.com f100d87400 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 49dfc38a6e removing these tests, they've been relocated to js2/tests/js 2001-02-08 04:59:21 +00:00
rginda%netscape.com 306ca97c5f changes to add runtime code into the library 2001-02-08 00:48:12 +00:00
rginda%netscape.com 3df3dd0748 fixing filenames, none of these files had prior history. 2001-02-08 00:14:20 +00:00
rginda%netscape.com 4087957756 ok, that was silly, removing generated Makefiles 2001-02-07 21:33:02 +00:00
rginda%netscape.com 74ad25891f Adding Makefiles 2001-02-07 21:29:36 +00:00
rginda%netscape.com 90b123912b adding automake file 2001-02-07 21:27:25 +00:00
rginda%netscape.com 848ccfca69 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 2b22046006 Added more semantics 2001-02-07 05:08:44 +00:00
waldemar%netscape.com c3a021f211 Added read-eval-print loop 2001-02-07 05:08:09 +00:00
waldemar%netscape.com f4fd6bc908 Updated to correspond to js2 site 2001-02-07 05:07:37 +00:00
waldemar%netscape.com 17b22162c1 Added :semantic-comment and :vector-construct. 2001-02-07 05:07:05 +00:00
waldemar%netscape.com ddf1704526 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 bbabbd5a0f Added vector comprehensions and extra mode parameter for %section, %subsection, and %text. 2001-02-07 05:05:39 +00:00
rogerl%netscape.com 61c02b49fb Fixed case, sorry 2001-02-02 01:08:06 +00:00
rogerl%netscape.com 4f0fb6c68b Added ICodeEmitter 2001-02-02 01:06:30 +00:00
rogerl%netscape.com 99801e47e7 Added icodeEmitter to VC++ build 2001-02-02 01:05:38 +00:00
rogerl%netscape.com 4b45446f30 Re-structuring some ICG details. 2001-02-02 01:04:22 +00:00
waldemar%netscape.com 068fd9649d Fixed comment 2001-02-01 03:42:25 +00:00
waldemar%netscape.com d5f1e7556c Added make-and-compile-grammar cache 2001-02-01 03:41:54 +00:00
waldemar%netscape.com 12ec735bd9 Added hash-table-= 2001-02-01 03:41:18 +00:00
waldemar%netscape.com 0845341beb Added the id type 2001-02-01 03:40:56 +00:00
waldemar%netscape.com 5cfc39b9dd Removed namespace inheritance. Begun implementing semantics. 2001-02-01 03:39:26 +00:00
rogerl%netscape.com bd57a453dc Removed unused parameter. 2001-02-01 01:06:53 +00:00
rogerl%netscape.com 80fd524b82 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 90e585d1c8 First cut a xml code generation. 2001-01-26 23:55:32 +00:00
jeff.dyer%compilercompany.com 68c43d84bf Unneeded file 2001-01-26 23:46:06 +00:00
waldemar%netscape.com 677d83f673 Added .() operator 2001-01-26 07:33:32 +00:00
rogerl%netscape.com 72c26972f0 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 35b3299ba1 Added <function> at top level and example thereof. 2001-01-20 00:44:51 +00:00
rogerl%netscape.com 293f39e59d Fixed gcc warnings. Added .xml test case. 2001-01-20 00:02:56 +00:00
rogerl%netscape.com 5ef03957d6 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 2306ac6460 fixed no-prototype function warning. 2001-01-12 20:32:19 +00:00
waldemar%netscape.com 143bc061b5 Separated statements into statements, diretives, and definitions 2001-01-12 07:33:19 +00:00
rogerl%netscape.com bd632f75f4 New (incomplete but functional) implementation of operator overriding. 2001-01-11 00:03:05 +00:00
waldemar%netscape.com 6cec0ffeb7 Simplified use-name-patterns 2001-01-10 02:50:13 +00:00
rogerl%netscape.com 43daa9fbee Fix for VC++ compile. 2001-01-02 19:49:16 +00:00
beard%netscape.com 1cf42d06be another pass over LexUtils::cmp_nocase(). 2000-12-30 08:08:12 +00:00
beard%netscape.com 99c888634e fix unsigned/signed comparison warnings 2000-12-30 07:55:01 +00:00
beard%netscape.com df3abcca9b Use GC-safe vector of JSFunction* to hold getters/setters. 2000-12-30 07:46:18 +00:00
beard%netscape.com 99f9432582 no need to copy JSString values into String values. 2000-12-30 07:06:03 +00:00
rogerl%netscape.com ee08ac19b5 Fixed bit-rot in exception handling, removed unused locals. 2000-12-30 01:13:06 +00:00
rogerl%netscape.com b702aaaa6d re-ordered members wrt init sequence. 2000-12-30 01:08:31 +00:00
waldemar%netscape.com 887b904e59 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 80f4c34351 Simplified postfix-expressions and use-exclude-include 2000-12-21 00:04:52 +00:00
waldemar%netscape.com a40dacaf12 Changed 'operator' from a keyword to an attribute. 2000-12-19 01:57:13 +00:00
waldemar%netscape.com e0f8356195 Removed 'operator' non-reserved word 2000-12-19 01:56:36 +00:00
beard%netscape.com e1805529ca added newest source files, to use the icode assembler. (Pro6 update) 2000-12-16 07:01:50 +00:00
beard%netscape.com a74f4fe519 added newest source files, to use the icode assembler. 2000-12-16 07:01:22 +00:00
beard%netscape.com 40289e5bf6 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 0923d081e7 fixed return value warning by moving return statement. 2000-12-16 06:56:37 +00:00
beard%netscape.com e76108030e warnings, explicit use of JSValue constructor. 2000-12-16 06:54:40 +00:00
waldemar%netscape.com e1b29f5bf1 Converted to CodeWarrior 6 and fixed errors 2000-12-16 01:14:55 +00:00
waldemar%netscape.com 968afb2ede Fixed C++ errors 2000-12-16 01:14:36 +00:00
jeff.dyer%compilercompany.com d2eb2e3974 Revised readme and removed CommandLine parser (for now). 2000-12-16 00:50:25 +00:00
jeff.dyer%compilercompany.com 42bf173cf4 Removing Util.java. 2000-12-16 00:43:05 +00:00
jeff.dyer%compilercompany.com e3fbb79593 Removed dependency on sun.tools packages. 2000-12-16 00:42:16 +00:00
rogerl%netscape.com adeb9ce419 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 990c190112 Converted to an application for testing. 2000-12-15 01:26:06 +00:00
beard%netscape.com 9e38607680 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 2db4c0cf57 JDK 1.1 compatibility. 2000-12-15 01:06:50 +00:00
beard%netscape.com d539a4f663 build system for Mac using CW Pro 6. 2000-12-15 01:05:32 +00:00
rogerl%netscape.com 069e9baacd 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 db887022c7 Corrupt. Removing. 2000-12-06 19:01:21 +00:00
jeff.dyer%compilercompany.com f8cff9b320 Removing, corrupt. 2000-12-06 18:59:39 +00:00
jeff.dyer%compilercompany.com ec4d373ded Drawing of compile-time values. 2000-12-06 18:37:20 +00:00
jeff.dyer%compilercompany.com f8ae9bf2de Fixed test to be correct js2. 2000-12-06 18:30:18 +00:00
jeff.dyer%compilercompany.com 21eef8c0a2 Fixes to the type system and error handler. 2000-12-06 18:27:42 +00:00
jeff.dyer%compilercompany.com 7ecfd468ed Fixed type bugs and header comments. 2000-12-04 18:47:28 +00:00
waldemar%netscape.com 3c3fe52071 Made 'super' into an operator. Added syntax for operator overloading. 2000-12-02 09:10:12 +00:00
waldemar%netscape.com 907e88a921 Added 'operator' non-reserved word 2000-12-02 09:09:41 +00:00
jeff.dyer%compilercompany.com e1e34965e1 Fixed a couple typos. 2000-12-02 02:04:51 +00:00
jeff.dyer%compilercompany.com 0305f2d290 Updated to reflect latest changes. 2000-12-02 01:49:18 +00:00
jeff.dyer%compilercompany.com 0f99399a6e Import of Initial Source from MVCC 2000-12-02 00:46:31 +00:00
waldemar%netscape.com 6cd25e1b96 Added support for white space. Removed initial / production. 2000-11-21 04:07:05 +00:00
waldemar%netscape.com fa7d21a130 Renamed simple to span 2000-11-21 04:06:44 +00:00
beard%netscape.com 6c99e43e31 updated dependencies 2000-11-21 00:31:10 +00:00
beard%netscape.com e1e12894c0 added explicit getString() method to StringFormatter, and removed operator String() methods. 2000-11-21 00:29:39 +00:00
beard%netscape.com 785eaacfb2 Made getStaticSlot() static, to remove warning. 2000-11-21 00:15:39 +00:00
beard%netscape.com 8329d7a4b6 fixing unsigned/signed conversion warnings. 2000-11-21 00:14:55 +00:00
beard%netscape.com 24a6cc787c CW Pro 6 compatibility. 2000-11-18 03:14:07 +00:00
rogerl%netscape.com 0f1b1996aa Added lexutils & exception... to default build. 2000-11-16 23:58:53 +00:00
rogerl%netscape.com 3923459330 Example from Waldemar's spec. 2000-11-16 23:50:37 +00:00
rogerl%netscape.com c65d7b8376 Added BindThis argument, removed 'this' arg from Call. 2000-11-16 23:49:29 +00:00
rogerl%netscape.com 8ccb885553 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 806cf8e188 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 843e30ec1a Fix the first startup test. 2000-11-08 21:05:58 +00:00
beard%netscape.com 06b45baadc 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 0a6215f169 Fixed warnings & bogus qualifier. 2000-11-07 01:09:45 +00:00
rogerl%netscape.com 5a3c3bbedc Fixed statics and constructors bitrot. 2000-11-07 00:59:27 +00:00
rogerl%netscape.com 9468068269 More tests and changed 'verify' to live separately. 2000-11-07 00:58:42 +00:00
rogerl%netscape.com d56d1d28c0 Testcase for adding setter to non-final field. 2000-11-06 23:00:00 +00:00
rogerl%netscape.com 7f2318fcc5 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 c4904771e2 Defined UseIncludesExcludes. Removed support for a:🅱️:c. 2000-11-04 10:47:47 +00:00
waldemar%netscape.com a16abdbf7e Added 'include' and 'exclude' non-reserved words 2000-11-04 10:46:24 +00:00
rogerl%netscape.com 18a5e3a269 More tests 2000-11-03 02:42:23 +00:00
rogerl%netscape.com 7b8898dcf1 Fixed adding setter to virtual inherited field. 2000-11-03 02:42:01 +00:00
jeff.dyer%compilercompany.com 94f99233df Don't care if required named come after optional named parameters. 2000-11-03 01:44:30 +00:00
rogerl%netscape.com 1851703e79 Fixed bogus rest reference, added named tests. 2000-11-02 19:40:42 +00:00
rogerl%netscape.com e74eea4764 Fixed signed/unsigned whinage. 2000-11-01 02:04:04 +00:00
rogerl%netscape.com 56310a15c2 Simple call tests. 2000-11-01 01:55:46 +00:00
rogerl%netscape.com 2edfa7302d Fixed rest parameter index handling. 2000-11-01 01:55:13 +00:00
rogerl%netscape.com 375bd5d07d Fixed signed/unsigned whine. 2000-11-01 01:48:15 +00:00
rogerl%netscape.com 2e5785dfe5 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 139931c770 Allowed multiple units in a unit expression 2000-10-28 05:55:47 +00:00
waldemar%netscape.com b65d4f2f46 Renamed OrdinaryInitialIdentifierCharacter and OrdinaryContinuingIdentifierCharacter to InitialIdentifierCharacter and ContinuingIdentifierCharacter 2000-10-28 05:55:19 +00:00
waldemar%netscape.com c8e5c8c645 Initial version 2000-10-28 05:54:44 +00:00
waldemar%netscape.com e25ff660ba Added JS20/Units 2000-10-28 05:53:23 +00:00
rogerl%netscape.com c93f2b6295 Fixed gcc whine about char16. 2000-10-28 00:07:36 +00:00
rogerl%netscape.com e89c1b85f2 Removed unused parameter. 2000-10-28 00:01:58 +00:00
rogerl%netscape.com 2c070bbf9e Named parameter work. 2000-10-27 23:55:31 +00:00
jeff.dyer%compilercompany.com 969051855b Added a couple missing redesignates. 2000-10-26 19:51:31 +00:00
beard%netscape.com a8b33eb1d5 adding nodefactory.h to dependency mix 2000-10-26 03:43:41 +00:00
beard%netscape.com 9adcc15ce8 fixing confusing code for linux, static Arena() -> getArena() 2000-10-26 03:40:51 +00:00
jeff.dyer%compilercompany.com 5e52ae4dac Added to FunctionDefinition a pointer that marks the position in the
parameter list that the named parameter marker occurs. The names at or
after that position may or may not have aliases associated with them.
2000-10-25 12:46:23 +00:00
jeff.dyer%compilercompany.com 22833e1539 Fix assertions that I missed in partial debug mode. Also fixed problem with
optional parameter after the named parameter marker.
2000-10-23 22:23:32 +00:00
jeff.dyer%compilercompany.com 73411c491c Parsing named parameters and arguments according to the Sep-23rd revision
of the grammar. WARNING: struct VariableBinding has grown. Recompile all
after getting this revision.
2000-10-23 19:39:55 +00:00
beard%netscape.com 5fa536e789 fixed some spacing problems, Makefiles use hard tabs! 2000-10-21 00:57:54 +00:00
beard%netscape.com 16f4fdae81 update depenencies for linux 2000-10-21 00:55:59 +00:00
beard%netscape.com 8f28eb5769 added xmlparser.cpp. 2000-10-21 00:51:32 +00:00
beard%netscape.com ee94aef90f fixing unsigned warnings, a leetle error checking. 2000-10-21 00:50:44 +00:00
beard%netscape.com 7f9bf0e529 fixing unsigned/signed conversion warnings. 2000-10-21 00:43:35 +00:00
rogerl%netscape.com acc5d653f4 Fixed signed/unsigned warning. 2000-10-21 00:38:59 +00:00
rogerl%netscape.com ee98657443 Changed ArgumentList to ArgumentList*. (Still need to handle the
destructor though).
2000-10-21 00:31:22 +00:00
rogerl%netscape.com 8e8a28606a 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
rginda%netscape.com 25bccbbb49 fixups for lame windows parser, and multiple parse per instance issues. 2000-10-20 22:18:52 +00:00
rginda%netscape.com 2457927e68 lalala, things run, lalala. (well, kinda.) 2000-10-20 10:33:57 +00:00
rginda%netscape.com adcd95d4ac more work on producing real live instructionstreams 2000-10-20 03:33:37 +00:00
rginda%netscape.com 143404294d starting to turn the icode StatementNode vector into actual Instructions... 2000-10-20 01:13:03 +00:00
rogerl%netscape.com a9f2c3b79c changes to XMLLexer etc. 2000-10-19 23:07:58 +00:00
rogerl%netscape.com 5b3d409795 Adding xmlparser stuff 2000-10-19 22:34:23 +00:00
beard%netscape.com 34165f9eb4 More const String& happiness. 2000-10-19 03:37:02 +00:00
beard%netscape.com 91533bfcd5 const String& to soothe g++ 2000-10-19 03:33:51 +00:00
beard%netscape.com 592a474b0a Fixing linux breakage, incorrect constructor name. 2000-10-19 03:32:23 +00:00
rginda%netscape.com dbbc7dcf0e made (most) parse*operand functions do the right thing... the rest choke for now. 2000-10-19 00:03:12 +00:00
rogerl%netscape.com 5a461f3c89 More warning whining. 2000-10-19 00:02:37 +00:00
rogerl%netscape.com ab0a5b79b7 Quiet warnings 2000-10-18 23:55:47 +00:00
rogerl%netscape.com 797d199480 Added icodeasm & xmlparser to build 2000-10-18 23:46:39 +00:00
rogerl%netscape.com e30ce8373b Added XMLparsing to load a class. Fixed handling of forward references to
class methods/fields.
2000-10-18 23:37:44 +00:00
rginda%netscape.com ff3db92711 making argument name optional in argumetlists 2000-10-18 22:01:17 +00:00
rginda%netscape.com 1cb3536755 waugh, "..." isn't supported on windows. Added full icode map generated by the new perl script. Added a comment character to the assembler, and required newlines after instructions. 2000-10-18 20:44:14 +00:00
rginda%netscape.com 0f8daa3979 adding genmap.pl to generate the icode map 2000-10-18 20:41:03 +00:00
rginda%netscape.com 7ba55fdebd fixed testcase and icodemap size 2000-10-18 04:33:54 +00:00
rginda%netscape.com df1d06fc40 whee! the parse "tree" minimally "works" 2000-10-18 03:12:42 +00:00
rginda%netscape.com 335a61b469 more icodeasm work... parse "tree" is finally testable... it might even work. 2000-10-18 01:02:13 +00:00
rginda%netscape.com 8685390f44 working in labels 2000-10-17 08:02:16 +00:00
rginda%netscape.com 9b5fdfd8c2 icode assembler changes 2000-10-17 00:41:54 +00:00
rginda%netscape.com 534a67dfea guess what? yep, more icode asm hacking. 2000-10-14 00:06:42 +00:00
rginda%netscape.com 36bdf14e61 adding some comments 2000-10-12 23:59:25 +00:00
rginda%netscape.com 0d069aae17 icode assembler still in progress 2000-10-12 23:58:51 +00:00
rginda%netscape.com c43c176e8d move # to first column for Very Lame Compilers. 2000-10-12 23:58:30 +00:00
rginda%netscape.com 7d14c260a9 more icodeasm hacks 2000-10-12 07:55:13 +00:00
rginda%netscape.com b0f3d95321 more hacking (flailing, maybe) on the icode assembler 2000-10-12 01:32:01 +00:00
rginda%netscape.com f38bdbdbf3 initial checkin of simple query script for the icode hash 2000-10-12 01:31:33 +00:00
rginda%netscape.com 1863037f91 initial checkin of icode assembler 2000-10-11 02:44:14 +00:00
rginda%netscape.com e1e32378c7 seperate icode hash into module 2000-10-11 02:42:39 +00:00
waldemar%netscape.com 7442e0026e Added s flag 2000-10-11 02:28:13 +00:00
waldemar%netscape.com 8808f7286f Changed classof x to x.class. Removed eval. Made include be a non-reserved word. Changed syntax of import to allow an automatic use of selected namespaces. 2000-10-10 02:49:34 +00:00
waldemar%netscape.com 6f4582329f Removed "eval" and "include" keywords 2000-10-10 02:48:17 +00:00
rogerl%netscape.com 8141a721b4 Mods for getter/setter methods. 2000-10-09 22:21:26 +00:00
waldemar%netscape.com eded78869f Added void and classof operators 2000-09-24 06:08:53 +00:00
waldemar%netscape.com 0e94e874c9 Made implements clauses js2-only 2000-09-23 08:15:06 +00:00
waldemar%netscape.com e9fac36551 Major revisions for Sep 18 and 21 language changes 2000-09-22 08:16:22 +00:00
waldemar%netscape.com baf53149b3 Removed "constructor" keyword 2000-09-22 08:14:56 +00:00
rogerl%netscape.com 668c8ce522 Cleanup warning fix. 2000-09-19 20:56:49 +00:00
rogerl%netscape.com 9a22c0ee19 Fixed warnings for gcc build. 2000-09-19 20:35:05 +00:00
beard%netscape.com d99198e4bc Fixing scope problems on Linux 2000-09-12 00:53:33 +00:00
waldemar%netscape.com 7ee18425f8 Renamed target files 2000-09-11 23:49:53 +00:00
rogerl%netscape.com 871fb6eab9 Removed unnecessary arg. from Call instruction. 2000-09-11 22:11:55 +00:00
rogerl%netscape.com 68c488539e Added getter/setter for names. 2000-09-11 22:10:44 +00:00
waldemar%netscape.com 005c605136 Added support for highlights. Made @ operator js2-only. 2000-09-09 02:15:37 +00:00
waldemar%netscape.com 7223a2e334 Updated to correspond to js2 site 2000-09-09 02:15:06 +00:00
waldemar%netscape.com 6c173aab33 Added support for highlights. 2000-09-09 02:14:35 +00:00
beard%netscape.com 722dc39edf All JSValue constructors are explicit. 2000-09-08 01:16:03 +00:00
rogerl%netscape.com 7ca98a95c6 Added Branch_initialized for argument handling. 2000-09-07 19:23:24 +00:00
rogerl%netscape.com 3e08d30492 Named arguments. 2000-09-07 19:22:59 +00:00
rogerl%netscape.com 29c3f3caa8 Named arguments 2000-09-07 19:22:13 +00:00
rogerl%netscape.com 1c4303af1c copy non-named args through 2000-09-06 02:17:47 +00:00
rogerl%netscape.com d6618351c4 fix for redundancy 2000-09-06 02:17:18 +00:00
rogerl%netscape.com 0a5401ac02 Fix for empty function body 2000-09-06 02:16:51 +00:00
rogerl%netscape.com 35c2183566 Switch from RegisterList to ArgumentList to handle named args.
Optional & rest parameter support.
2000-09-02 01:01:41 +00:00
rogerl%netscape.com 8c56203872 Optional and rest parameters.
Named arguments (just begun).
2000-09-02 01:01:04 +00:00
rogerl%netscape.com cf4cfc6b82 Fixed printOperands to handle <NaR> 2000-08-23 01:07:19 +00:00
rogerl%netscape.com e66ddfe600 Fixed printOperand to handle <NaR> properly. Added missing 'return this' to
all constructors.
2000-08-23 01:06:52 +00:00
waldemar%netscape.com 0700924be5 Added arguments to attributes; made 'use', 'namespace', and 'constructor' into keywords and simplified resulting grammar; merged attribute definitions into const definitions; made eval use function call syntax; renamed 'language' to 'use'. 2000-08-22 04:31:37 +00:00
waldemar%netscape.com 5200b2308b Added \Q escape 2000-08-22 04:29:34 +00:00
waldemar%netscape.com b60ff5b98f Added line-break constraint 2000-08-22 04:29:01 +00:00
waldemar%netscape.com d502901d6a Made terminal constraint error message more detailed 2000-08-22 04:28:01 +00:00
waldemar%netscape.com 7bc998fc6f Updated to generate Netscape 6-compatible HTML 2000-08-11 06:27:55 +00:00
waldemar%netscape.com c99d99da39 Added attributes to for-initializers and no-line-breaks in a few places 2000-08-11 06:27:25 +00:00
waldemar%netscape.com 7c9cec02ab Updated to match documentation site 2000-08-11 06:24:57 +00:00
waldemar%netscape.com 917c30fb01 Updated to match styles.css on documentation site 2000-08-11 06:24:39 +00:00
rogerl%netscape.com f3529e06b0 Added 'static' to global object routines. 2000-08-04 20:54:24 +00:00
rogerl%netscape.com b7a244e864 Oops. Left icode output on by default, now off. 2000-08-04 20:37:42 +00:00
rogerl%netscape.com 54317af353 Prototype munging for built-in global properties, implemented Function
object & Boolean object.
2000-08-04 20:28:35 +00:00
waldemar%netscape.com 12dc591a84 Made link order consistent 2000-08-02 23:09:53 +00:00
waldemar%netscape.com 9e6ed90896 Fixed Mac errors and warnings 2000-08-02 23:09:29 +00:00
beard%netscape.com ee310fed4c fixing warnings, removing need for JStrings to be copied for mClass 2000-08-02 03:53:04 +00:00
rginda%netscape.com 10d5245302 shut up "unused param" warnings by only naming the register param if the icode uses a RegisterList operand. 2000-07-29 02:00:12 +00:00
rogerl%netscape.com 4105edc56c Function prototype objects etc. 2000-07-26 01:56:47 +00:00
rogerl%netscape.com 785fb348fd More ECMA 3 mucking about to support constructors etc. 2000-07-25 22:58:04 +00:00
beard%netscape.com 02fe5b2d84 added jsmath.cpp/h 2000-07-21 05:07:29 +00:00
beard%netscape.com e7b6d31185 XML project file. 2000-07-21 05:07:05 +00:00
beard%netscape.com e67d7257c7 update dependencies to include jsmath.o 2000-07-21 05:01:10 +00:00
beard%netscape.com ec770e5462 add jsmath.cpp to the build. 2000-07-21 05:00:43 +00:00
beard%netscape.com a915099fef scope of loop variables fix 2000-07-21 05:00:10 +00:00
rogerl%netscape.com 4ae568de5e Implementing Object.prototype object and global object for ECMA 3
Adding Math class support.
2000-07-21 01:16:49 +00:00
rogerl%netscape.com cfd4e435be Removed all xxxCall, using simple call for everything.
Changed methods to use mMethods vector instead.
Various other fixes etc.
2000-07-18 20:53:03 +00:00
beard%netscape.com a831464e86 cleaned up by removing widenCString() calls when using world.identifiers 2000-07-17 20:39:19 +00:00
rginda%netscape.com 5873d1f4ef removing bogus assert (per rogerl) 2000-07-15 00:01:25 +00:00
beard%netscape.com 793761a64f added operator[](const char*) to StringAtomTable. 2000-07-14 23:10:02 +00:00
rogerl%netscape.com 3efd4c7ae7 Fixed slots for non-function vars, plus bug in slot xcrement. 2000-07-14 22:23:20 +00:00
rogerl%netscape.com 394eae2d67 Backed out time() 2000-07-14 01:46:14 +00:00
rogerl%netscape.com 9d9a2397fe Type targetted binary operators.
Added 'time()' function as native.
2000-07-14 01:00:53 +00:00
beard%netscape.com c85b319f3b need <stdio.h> for fopen on the Mac. 2000-07-13 02:23:55 +00:00
beard%netscape.com 7d2456d02a fixing readEvalFile to save off important Context data members. implemented identical_Default for string 2000-07-13 01:35:57 +00:00
beard%netscape.com 4a274478e3 fixing readEvalFile() by creating another Context 2000-07-13 00:44:30 +00:00
rogerl%netscape.com bc2242f4d4 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 6982a7a85f Implemented Import -only it's not in the parser yet.
Added missing defineXXX functions.
2000-07-11 23:49:20 +00:00
rginda%netscape.com 0521d8724e cleaned up linux warnings, minor debugger tweaks 2000-07-11 23:08:03 +00:00
rogerl%netscape.com 892b3e4cff More on @ operator. Fixed R 4billion print bug. 2000-07-11 20:54:06 +00:00
rogerl%netscape.com aa83a57078 Some parts of x@<name> working. 2000-07-10 23:18:07 +00:00
rogerl%netscape.com 0d7c4bc5c1 Support for 'constructor'. 2000-07-08 01:08:29 +00:00
rogerl%netscape.com f677b9a1dd Removed preprocess step, consolidated identifier handling. 2000-07-06 18:26:26 +00:00
beard%netscape.com ae75194337 Fix build bustage. 2000-06-29 18:40:58 +00:00
rogerl%netscape.com 289a28647c use handleDot for call, too. 2000-06-29 18:30:47 +00:00
beard%netscape.com 14a33e366c delete property support. 2000-06-29 18:14:14 +00:00
beard%netscape.com 6cbfacc80c DELETE_PROP 2000-06-29 18:13:46 +00:00
beard%netscape.com 9d7d45fa72 DELETE_PROP 2000-06-29 17:14:56 +00:00
beard%netscape.com b713041cec added DELETE_PROP instruction to implement the "delete" operation. 2000-06-29 17:11:50 +00:00
beard%netscape.com 9a805c2a95 unused parameter warning 2000-06-29 05:48:09 +00:00
beard%netscape.com cbf9cb60d0 complementary operator delete(void*, JSClass*). 2000-06-29 05:46:36 +00:00
beard%netscape.com b3c8568faa some classes to test js2 with. 2000-06-29 04:49:48 +00:00
beard%netscape.com 4db6e8e886 updated dependencies 2000-06-29 04:25:10 +00:00
beard%netscape.com ac2fd0c4c1 Changed StaticCall to use static slot. 2000-06-29 04:23:56 +00:00
beard%netscape.com 5cfc10557a Fixing static dotted expressions. 2000-06-29 04:23:20 +00:00