log cbackend.js @ 351:04ba2118c5fe

age author description
Sun, 05 Apr 2015 21:34:49 -0700 Michael Pavone Fix internal variable name generation for certain float values
Fri, 03 Apr 2015 23:07:06 -0700 Michael Pavone Add hash method to float types and make hash always return a 32-bit int
Sat, 28 Mar 2015 14:21:04 -0700 Michael Pavone Breaking change: method call syntax now always uses the syntactic receiver as the actual receiver. This makes its behavior different from function call syntax, but solves some problems with methods being shadowed by local variables and the like.
Sat, 28 Mar 2015 13:26:03 -0700 Michael Pavone Use a smarter algorithm for calculating module init order and break some circular module dependencies in the standard library
Tue, 24 Mar 2015 21:49:45 -0700 Michael Pavone Added conversion methods between integer and float types
Sun, 22 Mar 2015 19:10:09 -0700 Michael Pavone Allow symbol expressions in includeSystemHeader calls
Thu, 19 Mar 2015 22:39:18 -0700 Michael Pavone Minor improvement to error message about invalid c type expressions
Thu, 24 Jul 2014 21:58:26 -0700 Michael Pavone Move OS module out of backend Javascript into a proper module file. Add normal bytearray to bytearray module. Add read:to method to os module for reading into a bytearray.
Tue, 22 Jul 2014 23:32:49 -0700 Michael Pavone Make sure that true and false modules are initialized before anything else and that the list module is initialized before any modules besides true and false
Tue, 22 Jul 2014 21:31:41 -0700 Michael Pavone Add utf8 method to integer types for converting a number into a utf8 string made up of the corresponding character code
Tue, 22 Jul 2014 18:31:31 -0700 Michael Pavone Finish support for floating point numbers in C backend
Tue, 22 Jul 2014 08:35:30 -0700 Michael Pavone Fix const warning in sdl module
Mon, 21 Jul 2014 20:24:50 -0700 Michael Pavone Add some extra parens in addr_of translation and fix cleaning of names in llMessage parameters
Sun, 20 Jul 2014 00:12:43 -0700 Michael Pavone Make import:from actually work. Fix some macro bugs. Add a cpointer primitive type for storing an opaque pointer to a C object.
Sat, 19 Jul 2014 20:18:34 -0700 Michael Pavone Added support for encoding integers and booleans as JSON
Fri, 18 Jul 2014 00:14:22 -0700 Michael Pavone Warning cleanup
Thu, 17 Jul 2014 23:57:41 -0700 Michael Pavone Added object module which provides some basic reflection capabilities
Mon, 14 Jul 2014 19:03:46 -0700 Michael Pavone Remove remapping of most operators
Fri, 11 Apr 2014 22:29:32 -0700 Michael Pavone Fix a couple of compiler bugs. topenv was getting initialized in multiple places. This resulted in multiple copies of modules getting created which caused problems for macro expansion. Additionally, arguments were not being marked as declared during code generation so assigning to an argument that was not closed over generated invalid C code.
Sun, 05 Jan 2014 20:54:22 -0800 Mike Pavone Small fix to call to method implemented on current object check
Sat, 30 Nov 2013 15:04:52 -0800 Mike Pavone Don't compile quote expressions in C backend for now
Sat, 24 Aug 2013 19:02:59 -0700 Mike Pavone Make method names available at runtime so they can be included in method not implemented error messages
Sat, 24 Aug 2013 09:54:47 -0700 Mike Pavone Support more bitwise operations and function pointers in llMessages
Wed, 21 Aug 2013 07:59:34 -0700 Mike Pavone Fixed a few bugs. Improved the "symbol not found" error messages. Added a "signed?" method to integer objects
Tue, 13 Aug 2013 22:01:00 -0700 Mike Pavone Merge
Tue, 13 Aug 2013 21:58:03 -0700 Mike Pavone Add linked list implementation and cons operator
Sun, 11 Aug 2013 04:02:51 -0700 Mike Pavone Add os sleep
Sat, 10 Aug 2013 18:58:40 -0700 Mike Pavone Add rand srand and time to os module
Sat, 10 Aug 2013 18:26:33 -0700 Mike Pavone Fix variable name collision in integer objects
Sat, 10 Aug 2013 14:50:38 -0700 Mike Pavone Fix compiler bug involving referencing a self method in a method defined before the referenced method
Sat, 10 Aug 2013 14:19:38 -0700 Mike Pavone Added some stuff for compiler debugging. Added unsigned integer types. Added integer size conversion methods to integer objects.
Fri, 09 Aug 2013 04:29:37 -0700 Mike Pavone Fix string literal escaping to allow more than one of each type of escaped character
Fri, 09 Aug 2013 03:58:08 -0700 Mike Pavone Lambda bugfix and some improvments to the llMessage support
Fri, 09 Aug 2013 01:37:09 -0700 Mike Pavone Merge
Fri, 09 Aug 2013 01:35:29 -0700 Mike Pavone Minor progress towards supporting imports in the C backend
Thu, 08 Aug 2013 21:46:05 -0700 Mike Pavone Fix calling methods on objects that are not self when self implements the method being called
Thu, 08 Aug 2013 20:03:15 -0700 Mike Pavone Add int64, int16 and int8. Also add hex method to integer types.
Thu, 08 Aug 2013 19:19:19 -0700 Mike Pavone Add bitwise operations to int32 in the C backend
Sat, 03 Aug 2013 00:13:09 -0700 Mike Pavone Add support for implementing operators on user defined objects
Thu, 01 Aug 2013 19:10:48 -0700 Mike Pavone Add isInteger? method to the int32 type in the C backend
Thu, 26 Jul 2012 23:40:56 -0700 Mike Pavone Added short-circuit && and || operators
Thu, 26 Jul 2012 18:54:42 -0700 Mike Pavone Optimize self method calls into static function calls
Tue, 24 Jul 2012 19:13:38 -0700 Mike Pavone Do some cleanup on JS backend
Mon, 23 Jul 2012 07:59:34 -0700 Mike Pavone Remove some cruft from cbackend
Sun, 22 Jul 2012 14:18:34 -0700 Mike Pavone Improve llMessage a bit and move implementation of string into string.tp module using llMessage. Update TASKS list
Sat, 21 Jul 2012 22:30:21 -0700 Mike Pavone Add support for llMessage:withVars:andCode and llProperty:withType for specifying low level code without having to stick C inside the compiler. Redo array built-in type to use this feature.
Mon, 16 Jul 2012 01:10:12 -0700 Mike Pavone Add hash and int32 messages to string. Add hash message to int32. Update compile script
Sun, 15 Jul 2012 18:11:00 -0700 Mike Pavone Use Boehm-GC for garbage collection. Also make no_impl print on stderr rather than standard in and return a non-zero error code.
Sat, 14 Jul 2012 21:00:21 -0700 Mike Pavone Fix determination of whether a method call has an implicit self argument or not. Cleanup C warnings in output.
Sat, 14 Jul 2012 19:24:04 -0700 Mike Pavone Fix handling of variable style access to self and parent object messages defined with lambdas. Improve test case for this bug to include parent object access as well as self object access.
Sat, 14 Jul 2012 16:14:01 -0700 Mike Pavone Change strategy for handling true and false to avoid some initialization order problems and improve performance. Add support for negative integer literals. Update samples to reflect true/false change.
Sat, 14 Jul 2012 13:31:05 -0700 William Morgan added remainder operator
Sat, 14 Jul 2012 12:30:25 -0700 Mike Pavone Finish implementation of external module access
Sat, 14 Jul 2012 04:18:46 -0700 Mike Pavone Fix array resizing to use newsize * sizeof(object *) rather than just newsize
Sat, 14 Jul 2012 03:05:12 -0700 Mike Pavone Fix populatesymbols for parent property references. Fix lambda-style modules in cbackend.
Sat, 14 Jul 2012 01:39:43 -0700 Mike Pavone Fix object parent
Sat, 14 Jul 2012 00:35:50 -0700 Mike Pavone Add length method to array. Pass array of arguments to main method. Initialize parent field of environment struct for closures
Sat, 14 Jul 2012 00:00:24 -0700 Mike Pavone Add != operator. Fix more closure bugs.
Fri, 13 Jul 2012 21:05:52 -0700 Mike Pavone Fix some nested closure bugs
Fri, 13 Jul 2012 19:22:39 -0700 Mike Pavone Fix closure over self var
Fri, 13 Jul 2012 18:10:38 -0700 Mike Pavone Remove some C compiler warnings due to sloppy native code
Fri, 13 Jul 2012 14:16:51 -0700 Mike Pavone Fix os open to optionally take a file permission bit parameter. Update example to use this parameter. Add support for hex and binary integer literals
Fri, 13 Jul 2012 10:46:27 -0700 Mike Pavone Add builtin module os containing some baisc POSIX file IO
Fri, 13 Jul 2012 00:23:38 -0700 Mike Pavone Move closure/lambda object def into compiler rather than runtime code. Add while:do method to lambda
Thu, 12 Jul 2012 22:10:58 -0700 Mike Pavone Improve compiler error reporting. Fix operator associativity. Add some more string operations and a string ops sample
Thu, 12 Jul 2012 20:14:15 -0700 Mike Pavone Fix closures as methods so that private vars work
Wed, 11 Jul 2012 21:57:38 -0700 Mike Pavone Add basic string support
Wed, 11 Jul 2012 19:17:24 -0700 Mike Pavone Add append message to array
Tue, 10 Jul 2012 23:18:14 -0700 Mike Pavone Add foreach method to array and add fib sample that can work in C environment and array example
Tue, 10 Jul 2012 23:09:44 -0700 Mike Pavone Very basic array support
Tue, 10 Jul 2012 22:09:21 -0700 Mike Pavone Small refactor of built-in int32 type and added support for more operators on said type
Mon, 09 Jul 2012 21:32:28 -0700 Mike Pavone Use a function/method call strategy that actually works
Mon, 09 Jul 2012 08:57:50 -0700 Mike Pavone Working closures, but need to rethink method call strategy
Sat, 07 Jul 2012 17:03:01 -0700 Mike Pavone Tiny bit of work on closures
Sat, 07 Jul 2012 16:48:36 -0700 Mike Pavone Add initial version of C backend