Skip to content

Extra functionality for Tardis commandline.#1

Open
ShimmerFairy wants to merge 4 commits intomasak:masterfrom
ShimmerFairy:master
Open

Extra functionality for Tardis commandline.#1
ShimmerFairy wants to merge 4 commits intomasak:masterfrom
ShimmerFairy:master

Conversation

@ShimmerFairy
Copy link
Copy Markdown

Here I have added some extra commands for the Tardis commandline. Here is a quick overview:

help — this command gives you help on various commands of the program. If you type a command after help, you'll get detailed info on that command.

pets — It does the opposite of step, and jumps one back in the program. (I thought pets' was much cooler thanunstep')

rewrite CODE — This lets you rewrite the current tick to contain CODE, then recompiles and reruns the program.

unwrite — This will unwrite the current tick you're on. In other words, it takes the appropriate tick from the original program and overwrites what that tick currently holds.

It's not perfect (I can imagine things breaking if you use rewrite and turn one tick into two), but in my opinion it's good enough to be put into the main program.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant