Commit Graph

195 Commits (7a4ffd92eddf5012ce42c6e8e3959ddf014dd283)

Author SHA1 Message Date
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
John Benediktsson baac978767 Removing "to:" syntax from values.
Squashed commit of the following:

commit 18fef6bfa59f71dcb63b439f631c735848a9bbbb
Author: John Benediktsson <mrjbq7@gmail.com>
Date:   Mon Sep 26 11:02:26 2011 -0700

    vocabs.metadata: revert mistaken change.

commit 496b103b54034ea953882a039c08847d0eda0bb4
Author: John Benediktsson <mrjbq7@gmail.com>
Date:   Sun Sep 25 19:03:54 2011 -0700

    values: Removing "to:" syntax.
2011-09-26 11:08:26 -07:00
Joe Groff 81b12adcad math.blas, alien.fortran: move to unmaintained cuz I'm getting too old for this shit. closes #171 2011-09-24 20:59:21 -07:00
Slava Pestov 867b5a1178 Move javascriptcore to unmaintained. Fixes #130 2011-09-19 00:12:36 -07:00
John Benediktsson 60bf9d49ca Merge remote-tracking branch 'ex-rzr/fixes' 2011-08-26 19:05:53 -07:00
Erik Charlebois 64252dbdbc 32 and 64 bit Linux PPC support 2011-05-23 23:36:14 -04:00
Anton Gorenko 588af74590 fix 'boids' and move it from unmantained to extra; 2011-05-22 17:07:55 +06:00
Anton Gorenko 70718fc73c fix gstreamer.*;
move gstreamer from unmaintained to extra;
2011-03-05 17:34:01 +06:00
Anton Gorenko 952aad80ce gobject-introspection: add FOREIGN-ATOMIC-TYPE: (used in clutter.cogl.ffi);
move clutter from unmaintainded to extra;
2011-03-05 14:11:26 +06:00
Slava Pestov 368d2a0818 Move gstreamer and clutter bindings to unmaintained/ for now, until Anton can fix them, to make the build work 2011-03-04 18:11:42 -05:00
Doug Coleman 1f366c8b1d Move math.transforms.fft to unmaintained since it's broken and there are no unit tests 2010-09-21 00:20:23 -05:00
Doug Coleman f791c8c5d2 Squashed commit of the following:
commit 197dbe9a6733775ac0ea19b3da4bd4dc3c85418c
Author: Doug Coleman <doug.coleman@gmail.com>
Date:   Sat Sep 18 19:01:38 2010 -0500

    Fix bootstrap, move privileges to windows.privileges

commit 521c622f8afb15bf42d263c738cb990560dc29cb
Author: Doug Coleman <doug.coleman@gmail.com>
Date:   Sat Sep 18 18:26:30 2010 -0500

    Hopefully fix bootstrap

commit eb3f22928b59758b9505430034044b5b94705da2
Author: Doug Coleman <doug.coleman@gmail.com>
Date:   Sat Sep 18 18:19:05 2010 -0500

    Remove wince from factor codebase

commit 619d6c99415f46208a7ede6a04b0ccda46b15360
Author: Doug Coleman <doug.coleman@gmail.com>
Date:   Sat Sep 18 16:07:46 2010 -0500

    Remove Windows CE from vm/
2010-09-19 19:13:25 -05:00
Slava Pestov d2dd184d58 Officially drop PowerPC port 2010-08-15 20:10:11 -07:00
Erik Charlebois baab8c060d Remove ENUM: f and replace uses with CONSTANTs.
Fix bootstrap and load-all errors from enum classes.
2010-04-19 20:08:40 -07:00
Slava Pestov 2b4a55b53a Merge branch 'master' of git://github.com/erikcharlebois/factor 2010-04-10 18:01:19 -07:00
Erik Charlebois edc489f4c1 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 f3dd625de6 "stdcall" -> stdcall 2010-03-31 19:29:04 -07:00
Joe Groff 65c3259761 "cdecl" -> cdecl 2010-03-31 19:20:35 -07:00
Slava Pestov 187e0f96ca Move closures, fries and set-n to unmaintained 2010-02-24 20:24:32 +13:00
Slava Pestov 0e8f3670a3 Move windows.dragdrop-listener to unmaintained 2010-02-21 17:48:06 +13:00
Doug Coleman c52c69fe1d Move jamshred to unmaintained 2010-02-04 16:03:00 -06:00
erikc f33c73bf94 Merge up 2010-01-30 20:39:43 -08:00
Slava Pestov 0612bc6177 Factor source files should not be executable 2009-11-21 17:50:43 -06:00
Doug Coleman 6f7ec206a1 rename millis to system-millis, micros to system-micros, add nano-count 2009-11-18 15:58:48 -06:00
Slava Pestov ca12618c51 move models.illusion to basis, and move models.combinators and everything that uses it to unmaintained since it monkey-patches the models vocab which is retarded 2009-11-09 01:18:36 -06:00
Joe Groff d72fa710bc move 4DNav to unmaintained since it depends on adsoda 2009-10-30 20:46:29 -05:00
Joe Groff 2bc75e390a move adsoda to unmaintained 2009-10-30 13:46:43 -05:00
Doug Coleman 1d12a6707d sigma -> map-sum 2009-10-29 14:34:04 -05:00
Joe Groff 3fbe722561 Merge branch 'master' of http://factorcode.org/git/factor
Conflicts:
	basis/locals/locals.factor
	basis/peg/peg.factor
	extra/infix/infix.factor
2009-10-28 16:17:24 -05:00
Doug Coleman 125de11efb remove unmaintained combinators 2009-10-28 15:30:18 -05:00
Doug Coleman 7ce4b746e5 parsed -> suffix!, add append! 2009-10-28 13:38:27 -05:00
Slava Pestov 7ef15865a8 remove failed experiment 2009-10-28 00:50:05 -05:00
Joe Groff 8a7acdf54f move dns.* to unmaintained 2009-10-27 20:58:52 -05:00
Slava Pestov d5ea962bcb Move modules and peg-lexer to unmaintained 2009-10-19 05:56:35 -05:00
Chris Double 41dd639427 Fix invaders sound and fix bitrot in balloon-bomber and lunar-rescue 2009-10-16 12:15:10 +13:00
Chris Double d62714e403 Fix bitrot in space-invaders and cpu.8080 vocabs 2009-10-15 18:08:30 +13:00
Chris Double 77216b9d68 Fix cpu.8080 bitrot 2009-10-15 17:33:44 +13:00
Chris Double 1ffa6cd282 Fix webapps.fjsc bitrot and move from unmaintained 2009-10-15 15:46:33 +13:00
Slava Pestov 5fc3ad92f6 cpu.arm.assembler: dust it off, update to work with contemporary Factor, and clean it up a bit 2009-10-02 20:18:34 -05:00
Keith Lazuka 405e5d015b docs: change $subsection to $subsections 2009-10-02 12:15:48 -04:00
Joe Groff 866b62755e replace all TYPEDEF: void* XXX* with C-TYPE: XXX 2009-09-27 22:21:24 -05:00
Joe Groff dce02fcdfb Merge branch 'master' of git://factorcode.org/git/factor 2009-09-26 20:38:19 -05:00
Joe Groff 2cf0f3e5d3 move alien.inline, alien.cxx, alien.marshall to unmaintained; nuke alien.structs 2009-09-26 20:37:42 -05:00
Chris Double 1591f1b723 Remove unmaintained/ogg code 2009-09-25 16:46:22 +12:00
Mitchell N Charity cad255c393 multi-methods: mv from unmaintained/ to extra/ 2009-08-17 15:49:43 -04:00
Mitchell N Charity 36f72ffa4c multi-methods: fix (1+ and 1- were recently removed)
multi-methods: fix tests (ambiguity and incorrect stack effect)
2009-08-17 15:47:48 -04:00
Sam Anklesaria eb59431c3f modules.using rewrite 2009-07-29 15:48:54 -05:00
Sam Anklesaria 63204e677a Merge branch 'master' of git://factorcode.org/git/factor
Conflicts:
	unmaintained/modules/rpc-server/rpc-server.factor
2009-06-14 11:56:45 -05:00
Doug Coleman 6434e4acf1 move images.processing to unmaintained for now 2009-06-09 22:48:19 -04:00