Commit Graph

22 Commits (f191a6d4c502a854e4393eed9ab493dd38f074f7)

Author SHA1 Message Date
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 e3cb325040 factor: clean up whitespace in -docs files 2015-07-02 10:31:22 -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
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
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
Doug Coleman d8ab5edb83 Fix using list 2010-06-21 12:33:34 -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 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
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
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
Joe Groff 87c09af8f3 update game.worlds and gpu.demo.raytrace for audio.engine changes 2010-01-20 11:44:18 -08:00
Joe Groff 67472040a9 adjust game.worlds docs language 2010-01-20 11:32:21 -08:00
Joe Groff ef7b5b92f1 add note to game.worlds docs that draw-world* and resize-world can have methods added in addition to the *-game-world specific methods 2010-01-19 19:12:00 -08:00
Joe Groff a99f1fd20e make a protocol for audio.engine sources/listeners. fix multiple clip play/pause/stop words, and fix when a clip gets disposed during update-audio 2010-01-19 17:39:11 -08:00
Joe Groff e5c44b95aa game.worlds overhaul: add optional support for integrating audio.engine and make game.input integration optional too. add "tick-game-world" generic for extending game-world's tick* method 2010-01-19 16:07:47 -08:00
Joe Groff 89f104d8ab add begin-game-world and end-game-world generics so method-chains aren't needed just to do game setup and teardown at the right time 2010-01-16 23:06:54 -08:00
Joe Groff a2e3d64de6 document game.worlds, tweak GAME: syntax 2010-01-16 13:13:13 -08:00
Joe Groff 6bbfa0b6d8 GAME: syntax for defining game entry point with game-loop attributes 2010-01-16 12:18:50 -08:00
Joe Groff bd62fb22aa game-loop: change "tick-length" to more descriptive "tick-interval-micros" 2010-01-15 15:03:33 -08:00
Doug Coleman f4450653a9 remove system-millis and update vocabs to use system-micros or nano-count 2009-11-18 20:56:09 -06:00
Doug Coleman fcc53d174c move game-* to game.* and update all usages 2009-10-08 01:42:54 -05:00