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
Slava Pestov
d68b25da95
chipmunk.demo: fix load error
2010-05-22 03:24:04 -04:00
Doug Coleman
8656725f78
Finish renaming micros->nanos in game code, update libs
2010-05-21 23:50:42 -05:00
Doug Coleman
e75b85de30
Update code base for new alarms api
2010-05-21 20:42:12 -05:00
Doug Coleman
39013d1373
Fix using list for keys/values change
2010-05-21 12:48:06 -05:00
Doug Coleman
5a08add73a
Use overhauled alarms in game.loop
2010-05-21 12:48:06 -05:00
Slava Pestov
627295f094
Language change: tuple slot setter words with stack effect ( value object -- ) are now named FOO<< instead of (>>FOO)
2010-05-06 17:21:02 -04:00
Joe Groff
0aff35bfee
game.models.half-edge: additional vertex-diagonals word
2010-04-28 18:52:40 -07:00
Joe Groff
84c79879df
game.models.half-edge words for walking half-edge model representation
2010-04-28 18:41:36 -07:00
Daniel Ehrenberg
aa6158b366
Changing require-when usages to the new syntax for require-when
2010-04-18 14:29:24 -05:00
Daniel Ehrenberg
240c6819a9
Merge branch 'master' into conditional
2010-03-28 19:49:32 -04:00
Erik Charlebois
fcec127d2d
Debug rendering vocabulary
2010-03-27 14:31:24 -07:00
Daniel Ehrenberg
eb060443db
Updating code to use require-when rather than vocab [ require ] when
2010-03-18 01:13:37 -04:00
Slava Pestov
e3ddafbdec
core-foundation.run-loop: clean up and speed up some code to fix starvation issue exposed by game.loop (reported by Joe Groff)
2010-03-01 12:22:18 +13:00
Joe Groff
433f0d1ea6
game.worlds: construct game-loop object before begin-game-world is called so begin-game-world can change it before the loop is started
2010-02-24 20:07:13 -08:00