Commit Graph

87 Commits (9c9764cc2d9cafeb79a76945cbe78d79218bb428)

Author SHA1 Message Date
Björn Lindqvist 19899f3a0f game.worlds: Fixing the GAME: syntax word that broke due to renames 2016-04-22 15:21:56 +02:00
John Benediktsson 498285d7dd unicode: make this the API for all unicode things. 2016-03-30 23:29:48 -07:00
Doug Coleman 236f962323 gmae.input: rename ` to backtick 2016-03-21 14:57:48 -07:00
John Benediktsson ceb75057da change ERROR: words from throw-foo back to foo. 2015-08-13 16:13:05 -07:00
Doug Coleman 66147f27b4 extra: use throw-foo for ERROR: change 2015-08-13 01:56:32 -07:00
Doug Coleman 330c7ba156 factor: Removing SLOT: nth/at/global in favor of using change: at for tuple slots named ``at`` and change-at for hashtables.
Redo many FROM: and QUALIFIED: and using lists.
2015-08-12 08:49:02 -05:00
Doug Coleman 43fb73fae6 factor: Rename I[ ]I to [I I]. Fix places where we do "string"token without whitespace. 2015-08-06 17:05:12 -05:00
Doug Coleman 892c62e1dc factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test 2015-07-03 09:39:59 -07:00
Doug Coleman 59f3b1ea57 Revert "factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!"
Needs a bit more work.

This reverts commit 7e54cc2824.
2015-07-02 13:47:06 -07:00
Doug Coleman 7e54cc2824 factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool! 2015-07-02 11:36:08 -07:00
Doug Coleman e3cb325040 factor: clean up whitespace in -docs files 2015-07-02 10:31:22 -07:00
Doug Coleman 352e5de16a core, basis, extra: Remove DOS line endings from files.
Remove whitespace from end of lines.
Add a newline to the end of each file.
2015-06-29 17:25:40 -07:00
Doug Coleman 6e60c811ac core: Rename create to create-word, create-in to create-word-in. 2015-06-08 12:47:35 -07:00
John Benediktsson 343e8d7b87 game.models.obj: some cleanup. 2015-06-01 19:46:15 -07:00
Björn Lindqvist 001acde590 math.vectors: new word v>integer = [ >integer ] map 2014-11-17 19:02:12 -08:00
Benjamin Pollack 2c3dd8c3c8 Remove executable bit from tons of files that aren't 2014-11-05 20:40:42 -08:00
Björn Lindqvist 60ffe0680e kernel: new combinator 2with = with with 2014-07-22 07:40:13 -07:00
Björn Lindqvist 508b85851d tools.deploy.backend: ui depends on (full) io so it needs to be loaded first
find-library on linux needs to call /sbin/ldconfig which requires a
full io-backend. Using gtk requires loading alien libraries which
requires find-library. So the ui should always load the whole io.
2014-07-03 21:57:07 +00:00
John Benediktsson 02ac0662e7 more doc type fixes. 2014-05-24 17:16:26 -07:00
John Benediktsson d44cc17161 update docs for help.lint checks. 2013-08-24 11:39:31 -07:00
Doug Coleman 6a4608ec89 game.loop: Fix docs. 2013-06-19 07:00:58 -07:00
Doug Coleman 75dccbe329 game.loop: Fix throwing errors inside game loop. 2013-06-18 16:24:05 -07:00
John Benediktsson 2526d3c982 Fix some copyrights, sorry "Your name". 2013-04-25 13:26:36 -07:00
Doug Coleman 4ffbfc2602 basis/extra: Fix load errors 2013-03-24 22:19:28 -07:00
Doug Coleman 474805803d game.loop: Rename game-loop-error 2013-03-24 10:11:17 -07:00
John Benediktsson e6db6bb813 game.models.util: fix for immutable error. 2013-03-21 07:17:45 -07:00
John Benediktsson 5c76cbb421 rename some words to x>sequence and sequence>x. 2012-07-23 21:28:38 -07:00
John Benediktsson 3ea37a93eb more H{ } make fixes. 2012-07-19 14:38:22 -07:00
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
John Benediktsson 5a943b32c4 Remove stack effects from HELP: declarations. 2011-10-20 19:36:11 -07:00
John Benediktsson f4a6e10818 More cleanup of unused stuff. 2011-10-19 11:01:16 -07: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
Joe Groff 2bd6de9a02 slots: pre-create the "at", "nth", and "global" slots to make deterministic the currently nondeterministic ambiguity between accessors:change-* and assocs:change-at, sequences:change-nth, and namespaces:change-global 2011-09-19 10:03:43 -07:00
Slava Pestov d955c14b9c Oops 2011-09-06 00:25:33 -07:00
Slava Pestov 988e77463e game.loop: split off benchmarking code into game.loop.benchmark 2011-09-05 23:58:32 -07:00
Joe Groff 07f2d75316 game.debug.tests: fix half-changed accessor names (reported by sf17k) 2011-04-11 11:50:28 -07:00
Slava Pestov 974f4cfda4 game.loop: remove unneeded dependency on tools.memory vocab 2010-10-31 22:50:37 -05:00
Slava Pestov 7d4b64e361 rename benchmark.struct to tools.time.struct since it is not a benchmark 2010-08-11 21:51:19 -07:00
Doug Coleman e486d74460 Fix accessors 2010-06-22 14:10:12 -05:00
Doug Coleman d8ab5edb83 Fix using list 2010-06-21 12:33:34 -05:00
Doug Coleman d4e30aedcf Use two timers in game.loop 2010-06-16 16:23:31 -05:00
Doug Coleman 22faa12205 Add a word that waits for a game to finish running 2010-06-16 16:23:30 -05:00
Doug Coleman d9bd3d572e Fix load error in game.loop 2010-06-16 16:23:29 -05:00
Doug Coleman a6f0abb9a2 Rename alarms -> timers 2010-06-10 16:39:13 -05:00
Doug Coleman 445b43d924 Use benchmark.struct vocab to record tick/draw timings in game loop 2010-06-10 15:37:36 -05:00
Doug Coleman 46ad6b63e6 Add start-game word, make foo-attributes words when GAME: foo is defined, don't lose the loop object after the game is over 2010-06-10 15:37:31 -05:00
Joe Groff b8c6799527 key-caps, joystick-demo: move demos to game.input.demos.key-caps, game.input.demos.joysticks 2010-05-29 00:20:09 -07:00