Commit Graph

20 Commits (e4cc936c55d9946698abd266f673ba8c06b5e19e)

Author SHA1 Message Date
Doug Coleman 1942372eb5 random: Add random-unit word. 1 random-unit - is the same distribution, as Joe pointed out, so remove that. Use random-unit in librarie. 2012-03-30 18:04:45 -07:00
Joe Groff eee483654a use radix literals 2011-11-23 19:03:40 -08:00
John Benediktsson b473527f1f More lint fixes. 2011-10-16 21:23:21 -07:00
John Benediktsson 0e3d598e69 specialized-arrays: performed some cleanup.
Specifically,
    •   Created >c-array to be replacement for >T-array.
    •   Created cast-array to be generic replacement for all T-array-cast words.
    •   Created c-array@ to be generic replacement for T-array@ words.
    •   Replaced usages of <T-array> with T <c-array>
    •   Replaced usages of <direct-T-array> with T <c-direct-array>
    •   Replaced usages of >T-array with T >c-array
    •   Replaced usages of T-array-cast with T cast-array
    •   Replaced usages of malloc-T-array with T malloc-array.
    •   Removed malloc-T-array.
    •   Removed T-array-cast.
    •   Removed T-array@.
    •   Removed >T-array.

I also added (but didn't change any code to use):
    •   T c-array-type, returns T-array
    •   T c-array?, returns T-array?
    •   c-array{ T ... }, returns T-array{ ... }

Bootstraps just find on Mac OS X.  Also `load-all test-all` works for me.
2011-09-26 11:37:51 -07:00
Slava Pestov 2474fb5dac Update code for brave new world where alien.parser doesn't special-case void, and instead looks it up like any other word 2010-08-15 02:32:13 -07:00
Slava Pestov 894b09696a chipmunk.demo: fix load error 2010-05-22 03:24:04 -04:00
Doug Coleman ce95cea303 Finish renaming micros->nanos in game code, update libs 2010-05-21 23:50:42 -05:00
Joe Groff 5aecd92c37 C-ENUM: -> ENUM: 2010-04-19 20:07:16 -07:00
Slava Pestov 7d34ede7e3 Merge branch 'master' of git://github.com/erikcharlebois/factor 2010-04-10 18:01:19 -07:00
Slava Pestov 8e1afbd650 Fixing load errors 2010-04-10 17:24:44 -07:00
Erik Charlebois 9c2276b762 Change C-ENUM: to always take a type. Use f for anonymous enums. Update all uses. 2010-04-09 23:48:22 -07:00
Joe Groff d951be1832 "cdecl" -> cdecl 2010-03-31 19:20:35 -07:00
Joe Groff 20edc80727 deploy chipmunk lib 2010-02-25 15:13:06 -08:00
Joe Groff 3a4ea28d82 fix up chipmunk.demo, add a MAIN: 2010-02-24 18:46:02 -08:00
Joe Groff b013294bf4 move chipmunk to chipmunk.ffi 2010-02-24 17:00:17 -08:00
Joe Groff 96ab4492d2 rename current string-mangling "char*" to "c-string". char* is now just a boring old pointer to char 2010-02-23 11:42:02 -08:00
Joe Groff 8faa1046d6 remove unnecessary memory>structs from extra/ too 2010-02-22 12:34:38 -08:00
Erik Charlebois abb823e309 Remove game.input dependency from chipmunk.demo so it works on linux 2010-02-16 22:37:31 -08:00
Erik Charlebois 75e8ed7e33 Fix some doc typos, metadata 2010-02-16 03:25:03 -08:00
Erik Charlebois 4b428342cf Bindings to the Chipmunk 2d physics library. 2010-02-10 21:54:32 -08:00