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

108 Коммитов

Автор SHA1 Сообщение Дата
rogerl%netscape.com 6f4f3db7ad Fixed warnings for gcc build. 2000-09-19 20:35:05 +00:00
rogerl%netscape.com e9324adac8 Added getter/setter for names. 2000-09-11 22:10:44 +00:00
rogerl%netscape.com 18ad1c2378 Named arguments 2000-09-07 19:22:13 +00:00
rogerl%netscape.com 7383f26d6a Fix for empty function body 2000-09-06 02:16:51 +00:00
rogerl%netscape.com 60221db240 Optional and rest parameters.
Named arguments (just begun).
2000-09-02 01:01:04 +00:00
rogerl%netscape.com 934c77a9b2 Fixed printOperand to handle <NaR> properly. Added missing 'return this' to
all constructors.
2000-08-23 01:06:52 +00:00
rogerl%netscape.com 0013224436 Prototype munging for built-in global properties, implemented Function
object & Boolean object.
2000-08-04 20:28:35 +00:00
rogerl%netscape.com 9cb37bc8c8 Function prototype objects etc. 2000-07-26 01:56:47 +00:00
rogerl%netscape.com c30779b359 More ECMA 3 mucking about to support constructors etc. 2000-07-25 22:58:04 +00:00
rogerl%netscape.com 84455b51d9 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 06f0a5261f 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
rginda%netscape.com 950d90e264 removing bogus assert (per rogerl) 2000-07-15 00:01:25 +00:00
rogerl%netscape.com 3def89ee0d Fixed slots for non-function vars, plus bug in slot xcrement. 2000-07-14 22:23:20 +00:00
rogerl%netscape.com 23e9d7c1c8 Type targetted binary operators.
Added 'time()' function as native.
2000-07-14 01:00:53 +00:00
beard%netscape.com 89608ef140 need <stdio.h> for fopen on the Mac. 2000-07-13 02:23:55 +00:00
rogerl%netscape.com 58dc7e47b7 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 b8bd1adb30 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 3a02396fda cleaned up linux warnings, minor debugger tweaks 2000-07-11 23:08:03 +00:00
rogerl%netscape.com 087d2475a7 Some parts of x@<name> working. 2000-07-10 23:18:07 +00:00
rogerl%netscape.com daba9186aa Support for 'constructor'. 2000-07-08 01:08:29 +00:00
rogerl%netscape.com 1375151969 Removed preprocess step, consolidated identifier handling. 2000-07-06 18:26:26 +00:00
beard%netscape.com 0eeae607ae Fix build bustage. 2000-06-29 18:40:58 +00:00
rogerl%netscape.com fd98adafce use handleDot for call, too. 2000-06-29 18:30:47 +00:00
beard%netscape.com 8f5fea173e delete property support. 2000-06-29 18:14:14 +00:00
beard%netscape.com b202adfd39 Fixing static dotted expressions. 2000-06-29 04:23:20 +00:00
beard%netscape.com 640ba6e24c fixed static calls. 2000-06-29 03:15:52 +00:00
rogerl%netscape.com 63744d7c1c Implicit this and class lookup stuff. 2000-06-29 01:21:41 +00:00
rogerl%netscape.com 52bffdadcf First set of unified 'dot' handling changes for statics. 2000-06-28 18:41:30 +00:00
beard%netscape.com 866b5d3d8d GET_STATIC/SET_STATIC/STATIC_XCR now use an index rather than a name. Now using JSClass::hasStatic() rather than looking up statics in class' scope. 2000-06-28 16:14:18 +00:00
beard%netscape.com 4873ce7882 Fixed unitialized static class members. 2000-06-27 03:43:40 +00:00
rogerl%netscape.com fbdb3fe1c1 lots of stuff me and Patrick did 2000-06-27 02:39:32 +00:00
beard%netscape.com 3a78e14938 Reset register usage after generating each initializer statement. 2000-06-26 15:19:45 +00:00
beard%netscape.com 40e53d46ea Conditionally set constructor, if it has any instructions. 2000-06-25 17:04:01 +00:00
beard%netscape.com 8558f071a4 When generating a reference to "this" use the current code generator's mClass when appropriate. 2000-06-24 05:21:03 +00:00
beard%netscape.com 47638a00c7 Generating default constructor to run slot initializers. 2000-06-24 02:49:45 +00:00
rogerl%netscape.com e497a7809f typing 'this' 2000-06-24 01:02:34 +00:00
rogerl%netscape.com 432c8b3cdc Got newClass working, added printProperties for instances, some slot
stuff is happening.
2000-06-24 00:50:59 +00:00
rogerl%netscape.com e939fbddc4 Adding slot handling to code gen. 2000-06-23 23:43:24 +00:00
rogerl%netscape.com 89515e83dc Removed FUNCTION instruction, other class related junk. 2000-06-23 22:53:09 +00:00
rginda%netscape.com da45d9b0eb Added debugger opcode, change InstructionMap to a std::map, print source lines while tracing 2000-06-23 22:27:17 +00:00
rogerl%netscape.com ea920b48c8 Add return statement if the function doesn't end with one 2000-06-23 21:20:03 +00:00
beard%netscape.com 95adc8b187 Additional JSClass processing: defining slots, generating methods. 2000-06-23 05:13:04 +00:00
beard%netscape.com f7c44fcf6f putting the JSClass* in the current global scope, and looking up superclass rereferences. 2000-06-23 02:22:55 +00:00
beard%netscape.com 5ee7d6da77 JSClass support. 2000-06-21 23:58:17 +00:00
rogerl%netscape.com f2591282dc Work to support 'this'. 2000-06-21 22:32:21 +00:00
rogerl%netscape.com 27e254fee3 Changed use of Register to TypedRegister throughout. 2000-06-20 22:45:45 +00:00
rogerl%netscape.com ecd0d99e85 Mucking about with operator overlaoding plus initializing global context
- beginning type stuff.
2000-06-16 01:36:59 +00:00
rogerl%netscape.com b2f3dff014 Added op= support. 2000-06-15 16:03:54 +00:00
rogerl%netscape.com 6526fedd31 Adding support for Functions and Vars, preXcrement, object literals. 2000-06-14 23:26:15 +00:00
rogerl%netscape.com 573531b249 Statement fun 2000-05-26 22:33:05 +00:00