summaryrefslogtreecommitdiff
path: root/2d/repl
Commit message (Collapse)AuthorAgeFilesLines
* Fix docstring.David Thompson2014-01-131-2/+2
| | | | * 2d/repl/repl.scm (add-to-repl-mvar): Fix.
* Run REPL metacommands in the main thread, too.David Thompson2014-01-131-1/+7
| | | | * 2d/repl/repl.scm: Fix bug.
* Clean up custom REPL code.David Thompson2014-01-121-15/+12
| | | | * 2d/repl/repl.scm (add-to-repl-mvar, run-repl): Cleanup.
* Run REPL even when game is paused.David Thompson2014-01-091-17/+20
| | | | | | * 2d/repl/repl.scm (add-to-repl-mvar): New procedure. (poll-interval): New variable. (flush-repl): Schedule in paused-agenda.
* Factor REPL out of main loop.David Thompson2014-01-091-3/+34
| | | | | | | | | * 2d/game.scm (start-game-loop): Don't spawn REPL. (update-and-render, tick): Don't run REPL. (run-repl-thunk, run-repl): Move. * 2d/repl/repl.scm: (run-repl-thunk, flush-repl): Add. (flush-repl): Schedule REPL to be run within main loop.
* Merge game-loop module with game module.David Thompson2013-11-041-1/+1
|
* Update mvars module.David Thompson2013-09-041-2/+2
| | | | | | | | There were some issues with the original version that Mark Weaver has fixed. This also resolves an issue where mvars was unusable on Guile versions less than 2.0.9 because of a docstring on case-lambda.
* Add some documentation.David Thompson2013-09-021-2/+4
|
* Pass along the *repl-stack* fluid so that nested REPLs work right.David Thompson2013-09-021-1/+2
|
* Move both mvars into the repl module.David Thompson2013-09-021-4/+5
|
* Execute REPL thunks in the context of the main game thread.David Thompson2013-09-021-5/+23
|
* Add custom REPL server modules.David Thompson2013-07-312-0/+357
These are slightly modified versions of the ones that come with Guile.