Commit Graph

25 Commits (ee499cd63dd5eda82eca8d23991d9fe80b2386c3)

Author SHA1 Message Date
Doug Coleman f9257959fd Rename class to class-of 2011-10-24 06:47:42 -05: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
Keita Haga 33c14b8bb0 ui.pixel-formats: fix using list in example 2010-12-23 03:10:54 +09:00
Keith Lazuka 405e5d015b docs: change $subsection to $subsections 2009-10-02 12:15:48 -04:00
Joe Groff 5054c954be add USING:s and rearrange definitions so macosx can compile without parsing c-type strings 2009-09-26 23:14:57 -05:00
Doug Coleman eceed177d6 replace usages of <" with """ 2009-09-20 22:42:40 -05:00
Slava Pestov 7f2e2b1777 Specialized array overhaul
- Replace hand-written specialized-arrays.* subvocabularies with new system; instead of USE:ing specialized-arrays.T, do SPECIALIZED-ARRAY: T
- Ditto for specialized-vectors; use SPECIALIZED-VECTOR:
- io.mmap.functor: removed entirely, use <mapped-array> instead
- struct-arrays and struct-vectors have been removed because specialized arrays and vectors subsume them entirely
2009-09-09 22:33:34 -05:00
Slava Pestov 8b68a07649 ui.pixel-formats: fix screwup 2009-08-24 20:45:19 -05:00
Slava Pestov b2a1858f8f Move a few more things over to new disposable protocol 2009-08-24 20:33:27 -05:00
Slava Pestov b31fe9b8f2 Implement stricter vocab search path semantics, with a new API for vocabs.parser. Add map-find-last to sequences vocab 2009-05-14 22:31:29 -05:00
Slava Pestov 0c1e519dcb Rename use+ to add-use, move search to vocabs.parser, EXCLUDE: bombs out if word doesn't exist 2009-05-13 22:15:48 -05:00
Slava Pestov 9de34ab3cd Fix deployment of UI apps and implement various tricks to make deployed images smaller 2009-05-10 21:33:13 -05:00
Joe Groff d546e8c89a nitpick ui.pixel-formats docs 2009-05-03 22:21:36 -05:00
Joe Groff fa524ce213 fix circular dependency for reals 2009-05-02 22:13:01 -05:00
Joe Groff cc244cb672 break code->code docs<-docs dependency 2009-05-02 21:54:25 -05:00
Joe Groff af6bf6603e docs for ui.pixel-formats 2009-05-02 18:22:45 -05:00
Joe Groff d96f6d3197 oops, forgot backing-store support on windows. also "robust" is useless 2009-05-02 17:54:45 -05:00
Joe Groff 621fed2dd5 need to pass world as arg to pixel-format hooks 2009-05-02 12:31:33 -05:00
Joe Groff 54e9447ec4 adjust pixel format syntax. override offscreen-world pixel-format-attributes instead of special-casing 2009-05-01 20:07:14 -05:00
Joe Groff 2a7c26c20a shove cocoa pixel format attribute conversion into a functor so we can reuse it 2009-05-01 16:33:49 -05:00
Joe Groff cf6e78303b don't really want that read-only! 2009-05-01 13:21:57 -05:00
Joe Groff b45ea14d39 compilation fixes 2009-05-01 12:56:52 -05:00
Joe Groff ba8abd6cad cocoa backend support for ui.pixel-formats; world-pixel-format-attributes generic 2009-05-01 09:09:38 -05:00
Joe Groff 76d375b56b OS-independent pixel formats abstraction 2009-04-30 20:31:33 -05:00