Commit Graph

20 Commits (98f4ec7c43cd130963b0ba225ad88e7c90a94a14)

Author SHA1 Message Date
John Benediktsson 1a73e79ef7 cleanup some use of with-scope. 2012-07-19 13:55:34 -07:00
John Benediktsson 90d0951ada more use of H{ } make. 2012-07-19 11:24:45 -07:00
Doug Coleman 42f4dc36b2 namespaces: Rename ``bind`` to ``with-variables``. Update a few places that called ``global [ ] with-variables`` to use ``with-global``. 2012-07-19 00:02:47 -07:00
Joe Groff 943596575a use radix literals 2011-11-23 19:03:40 -08:00
Doug Coleman 76580da5d5 Refactor the lexer/parser to expose friendlier words for scanning tokens. The preferred top-level words now throw an exception on EOF.
CREATE -> scan-new
CREATE-CLASS -> scan-new-class
CREATE-WORD -> scan-new-word
CREATE-GENERIC -> scan-new-generic
scan -> (scan-token)
scan-token now throws on eof
(scan-word) returns word/number/f
scan-word now throws on eof
scan-word-name expects a non-number
Fixes #183.
Fixes #209.
2011-09-29 11:28:28 -07:00
John Benediktsson 4f42c72012 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 75560699ea Move <ref>, deref and little-endian? from alien.c-types to alien.data, remove <c-object> 2010-12-25 16:55:36 -08:00
Doug Coleman 4ca9bd0bba Remove usages of <void*> and *void* 2010-10-25 13:22:50 -05:00
Doug Coleman 1f57dc326e Remove many uses of <int> and *int etc 2010-10-25 12:49:12 -05:00
Erik Charlebois b4a0fd8b17 Remove some inline flags for info words to avoid out of memory on 32-bit archs. 2010-04-14 01:28:21 -07:00
Erik Charlebois bb0c4d94e0 Replace info and 2info macros with simple inline words. 2010-04-14 00:08:10 -07:00
Slava Pestov 3f36a2dd2d opencl.ffi: fix load error 2010-04-13 18:43:56 -07:00
Slava Pestov da6bcbedfc Replace 'untested' tag with 'not loaded' and 'not tested' tags 2010-04-13 18:43:01 -07:00
Joe Groff 0d5729b639 opencl.ffi: library isn't stdcall except on windows 2010-04-12 17:25:36 -07:00
Joe Groff f3dd625de6 "stdcall" -> stdcall 2010-03-31 19:29:04 -07:00
Doug Coleman 1669194d04 Fix typedef typo in opencl 2010-03-08 03:39:29 -06:00
Joe Groff 211cafed4a tag opencl.* untested 2010-03-06 14:01:26 -08:00
Erik Charlebois 3b9d6f64a4 Get the OpenCL driver name right on Linux, confirm test passes 2010-03-05 22:37:10 -08:00
Erik Charlebois 950f268bad Get OpenCL unit tests passing on Win7/NVidia. 2010-03-03 02:06:58 -08:00
Erik Charlebois a7f1d4f231 Initial checkin of OpenCL bindings 2010-03-03 00:02:47 -08:00