kramm [Fri, 2 Jan 2009 19:44:52 +0000 (19:44 +0000)]
exported trait_new_member
kramm [Fri, 2 Jan 2009 19:44:36 +0000 (19:44 +0000)]
renamed abc_class_(static)constructor to abc_class_get(static)constructor
kramm [Fri, 2 Jan 2009 19:44:25 +0000 (19:44 +0000)]
fixed bug in staticslot
kramm [Fri, 2 Jan 2009 19:44:15 +0000 (19:44 +0000)]
fixed bug in slot assignment
kramm [Fri, 2 Jan 2009 19:44:05 +0000 (19:44 +0000)]
trait_new_method now takes a trait list as first argument
kramm [Fri, 2 Jan 2009 19:43:55 +0000 (19:43 +0000)]
dump out unreferenced methods, too
kramm [Fri, 2 Jan 2009 19:43:45 +0000 (19:43 +0000)]
print out trait attributes when dumping
kramm [Fri, 2 Jan 2009 19:43:32 +0000 (19:43 +0000)]
added test programs
kramm [Fri, 2 Jan 2009 19:43:22 +0000 (19:43 +0000)]
test for a stack underflow problem, too
kramm [Fri, 2 Jan 2009 19:43:14 +0000 (19:43 +0000)]
added test for empty case
kramm [Fri, 2 Jan 2009 19:43:03 +0000 (19:43 +0000)]
string escaping test
kramm [Fri, 2 Jan 2009 19:42:43 +0000 (19:42 +0000)]
test of variable reassignment
kramm [Fri, 2 Jan 2009 19:42:23 +0000 (19:42 +0000)]
test break and continue, too
kramm [Fri, 2 Jan 2009 19:42:13 +0000 (19:42 +0000)]
added test for finally
kramm [Fri, 2 Jan 2009 19:41:52 +0000 (19:41 +0000)]
added a syntax check for {}
kramm [Fri, 2 Jan 2009 19:41:41 +0000 (19:41 +0000)]
tests are named 1/2 and 2/2
kramm [Fri, 2 Jan 2009 19:41:30 +0000 (19:41 +0000)]
test hex numbers
kramm [Fri, 2 Jan 2009 19:40:59 +0000 (19:40 +0000)]
inheritance test
kramm [Fri, 2 Jan 2009 19:40:15 +0000 (19:40 +0000)]
test for undefined label in break/continue
kramm [Tue, 30 Dec 2008 23:07:04 +0000 (23:07 +0000)]
regenerated from source
kramm [Tue, 30 Dec 2008 23:06:34 +0000 (23:06 +0000)]
reworked strings
kramm [Tue, 30 Dec 2008 23:06:25 +0000 (23:06 +0000)]
added ptr_type
kramm [Tue, 30 Dec 2008 23:06:14 +0000 (23:06 +0000)]
new keyword super
kramm [Tue, 30 Dec 2008 23:06:06 +0000 (23:06 +0000)]
added void,typeof,undefined keywords
kramm [Tue, 30 Dec 2008 23:05:58 +0000 (23:05 +0000)]
removed Boolean, Number, uint, int from keywords
kramm [Tue, 30 Dec 2008 23:05:50 +0000 (23:05 +0000)]
only allow sign in front of a number if it's safe
kramm [Tue, 30 Dec 2008 23:05:42 +0000 (23:05 +0000)]
allow .123 format numbers
kramm [Tue, 30 Dec 2008 23:05:24 +0000 (23:05 +0000)]
added string unescaping
kramm [Tue, 30 Dec 2008 23:05:06 +0000 (23:05 +0000)]
added '*=' token
kramm [Tue, 30 Dec 2008 23:04:58 +0000 (23:04 +0000)]
fixed multiline comments
kramm [Tue, 30 Dec 2008 23:04:50 +0000 (23:04 +0000)]
added T_DOTDOTDOT
kramm [Tue, 30 Dec 2008 23:04:38 +0000 (23:04 +0000)]
removed token_t type
kramm [Tue, 30 Dec 2008 23:04:30 +0000 (23:04 +0000)]
params now have a value, too
kramm [Tue, 30 Dec 2008 23:04:22 +0000 (23:04 +0000)]
new struct 'params'
kramm [Tue, 30 Dec 2008 23:04:12 +0000 (23:04 +0000)]
run error reporting tests, too
kramm [Tue, 30 Dec 2008 23:03:37 +0000 (23:03 +0000)]
added slot field to classinfo_t
kramm [Tue, 30 Dec 2008 23:03:29 +0000 (23:03 +0000)]
added flags to memberinfo
kramm [Tue, 30 Dec 2008 23:03:21 +0000 (23:03 +0000)]
added more member types
kramm [Tue, 30 Dec 2008 23:02:52 +0000 (23:02 +0000)]
renamed registry_getfunctionclass to memberinfo_getclass
kramm [Tue, 30 Dec 2008 23:02:44 +0000 (23:02 +0000)]
classinfo_t now has a union member for storing subclasses/submembers
kramm [Tue, 30 Dec 2008 23:02:36 +0000 (23:02 +0000)]
added class type
kramm [Tue, 30 Dec 2008 23:02:28 +0000 (23:02 +0000)]
classinfo_register now allocates space for the interface list
kramm [Tue, 30 Dec 2008 23:02:17 +0000 (23:02 +0000)]
renamed '__funcptr__' to 'call'
kramm [Tue, 30 Dec 2008 23:02:09 +0000 (23:02 +0000)]
new functions getfunctionclass() isfunctionclass()
kramm [Tue, 30 Dec 2008 23:01:50 +0000 (23:01 +0000)]
added ACCESS_PUBLIC as synonym to ACCESS_PACKAGE
kramm [Tue, 30 Dec 2008 23:01:39 +0000 (23:01 +0000)]
fixed a bad alloc
kramm [Tue, 30 Dec 2008 23:01:30 +0000 (23:01 +0000)]
the string pool now stores string_t* entries
kramm [Tue, 30 Dec 2008 23:01:21 +0000 (23:01 +0000)]
small print refinement
kramm [Tue, 30 Dec 2008 23:01:08 +0000 (23:01 +0000)]
small bugfixes
kramm [Tue, 30 Dec 2008 23:00:57 +0000 (23:00 +0000)]
added super() implementation, state is now split up into class, method and import state
kramm [Tue, 30 Dec 2008 23:00:46 +0000 (23:00 +0000)]
added typeof, void expressions
kramm [Tue, 30 Dec 2008 23:00:36 +0000 (23:00 +0000)]
implemented missing arithmetric operations
kramm [Tue, 30 Dec 2008 23:00:24 +0000 (23:00 +0000)]
do precedence by the book
kramm [Tue, 30 Dec 2008 23:00:07 +0000 (23:00 +0000)]
fixed bug in creation of dynamic classes
kramm [Tue, 30 Dec 2008 22:59:57 +0000 (22:59 +0000)]
fixed segfault during late binding
kramm [Tue, 30 Dec 2008 22:59:47 +0000 (22:59 +0000)]
don't reference instance variables with getslot
kramm [Tue, 30 Dec 2008 22:59:37 +0000 (22:59 +0000)]
new function find_class(), used by NEW and class lookup
kramm [Tue, 30 Dec 2008 22:59:27 +0000 (22:59 +0000)]
simplified new() for local classes
kramm [Tue, 30 Dec 2008 22:59:16 +0000 (22:59 +0000)]
added support for "Class.member" syntax
kramm [Tue, 30 Dec 2008 22:59:06 +0000 (22:59 +0000)]
allow a static function to access static slots directly
kramm [Tue, 30 Dec 2008 22:58:56 +0000 (22:58 +0000)]
added access level modifiers support, modified property lookup to cope with it
kramm [Tue, 30 Dec 2008 22:58:46 +0000 (22:58 +0000)]
make sure that we don't do a rogue getproperty anywhere, to not confuse getter functions
kramm [Tue, 30 Dec 2008 22:58:36 +0000 (22:58 +0000)]
fixed getter/setter handling, refined casting
kramm [Tue, 30 Dec 2008 22:58:26 +0000 (22:58 +0000)]
implemented interfaces
kramm [Tue, 30 Dec 2008 22:58:16 +0000 (22:58 +0000)]
strings are now encoded as string_t
kramm [Tue, 30 Dec 2008 22:58:06 +0000 (22:58 +0000)]
added 'a op= b' implementation
kramm [Tue, 30 Dec 2008 22:57:56 +0000 (22:57 +0000)]
fixed variable killing on scope end
kramm [Tue, 30 Dec 2008 22:57:46 +0000 (22:57 +0000)]
simplified local variable reassignment, added default param values
kramm [Tue, 30 Dec 2008 22:57:36 +0000 (22:57 +0000)]
bugfixes, closure support
kramm [Tue, 30 Dec 2008 22:57:26 +0000 (22:57 +0000)]
optimized assignment code, added varargs
kramm [Tue, 30 Dec 2008 22:57:16 +0000 (22:57 +0000)]
made temporary variable non-colliding
kramm [Tue, 30 Dec 2008 22:56:39 +0000 (22:56 +0000)]
added slots to class
kramm [Tue, 30 Dec 2008 22:56:31 +0000 (22:56 +0000)]
added access codes to member flags
kramm [Tue, 30 Dec 2008 22:56:01 +0000 (22:56 +0000)]
token2string now takes 2 parameters
kramm [Tue, 30 Dec 2008 22:55:30 +0000 (22:55 +0000)]
fixed code_cutlast if there's only one opcode
kramm [Tue, 30 Dec 2008 22:55:14 +0000 (22:55 +0000)]
strings are now stored as string_t*
kramm [Tue, 30 Dec 2008 22:55:03 +0000 (22:55 +0000)]
reactivated code_dup
kramm [Tue, 30 Dec 2008 22:54:54 +0000 (22:54 +0000)]
added function cut_last_push()
kramm [Tue, 30 Dec 2008 22:54:42 +0000 (22:54 +0000)]
addeds slot field to classinfo_t
kramm [Tue, 30 Dec 2008 22:54:18 +0000 (22:54 +0000)]
added access levels to flags
kramm [Tue, 30 Dec 2008 22:53:54 +0000 (22:53 +0000)]
added flags
kramm [Tue, 30 Dec 2008 22:53:08 +0000 (22:53 +0000)]
removed varargs syntax from method constructors
kramm [Tue, 30 Dec 2008 22:52:58 +0000 (22:52 +0000)]
made method construction functions return abc_method instead of abc_method_body
kramm [Tue, 30 Dec 2008 22:52:48 +0000 (22:52 +0000)]
dump out optional param number, too
kramm [Tue, 30 Dec 2008 22:52:38 +0000 (22:52 +0000)]
removed old TODO comment
kramm [Tue, 30 Dec 2008 22:52:28 +0000 (22:52 +0000)]
mind NEED_REST when calculating local variable usage
kramm [Tue, 30 Dec 2008 22:52:14 +0000 (22:52 +0000)]
added ../librfxswf.a to clean target
kramm [Tue, 30 Dec 2008 22:51:23 +0000 (22:51 +0000)]
test for typeof()
kramm [Tue, 30 Dec 2008 22:50:03 +0000 (22:50 +0000)]
test string switch, switch w/o default
kramm [Tue, 30 Dec 2008 22:49:52 +0000 (22:49 +0000)]
removed shortcut
kramm [Tue, 30 Dec 2008 22:49:24 +0000 (22:49 +0000)]
added tests for \x00, \xff
kramm [Tue, 30 Dec 2008 22:49:13 +0000 (22:49 +0000)]
added test for static var lookup during dynamic member init
kramm [Tue, 30 Dec 2008 22:49:05 +0000 (22:49 +0000)]
test builtin static types within imported packages
kramm [Tue, 30 Dec 2008 22:48:57 +0000 (22:48 +0000)]
test "Class.staticmember" syntax
kramm [Tue, 30 Dec 2008 22:48:49 +0000 (22:48 +0000)]
added more tests
kramm [Tue, 30 Dec 2008 22:48:41 +0000 (22:48 +0000)]
test for static functions/members
kramm [Tue, 30 Dec 2008 22:48:21 +0000 (22:48 +0000)]
test slotid assignment
kramm [Tue, 30 Dec 2008 22:47:22 +0000 (22:47 +0000)]
check precedence of as,in against ==
kramm [Tue, 30 Dec 2008 22:46:53 +0000 (22:46 +0000)]
moved typeof tests to typeof.as, added more void tests
kramm [Tue, 30 Dec 2008 22:46:06 +0000 (22:46 +0000)]
tested creation of dynamic classes