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

932 Коммитов

Автор SHA1 Сообщение Дата
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
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