Skip to content

Commit

Permalink
clearer description of editing experience
Browse files Browse the repository at this point in the history
  • Loading branch information
akkartik committed Dec 10, 2021
1 parent 47c8e9d commit 469ad4e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,17 @@ src/teliva hanoi.tlv
<img alt='screenshot of Teliva running the Towers of Hanoi' src='doc/hanoi.png'>

No matter what app you run, you are always guaranteed access to a single
obvious, consistent way (currently the hotkey `ctrl-e`) to edit its sources.
Make a change, hit `ctrl-e` again, and the app will run with your updates.
([video](https://archive.org/details/akkartik-2021-11-14))
obvious, consistent way (currently the hotkey `ctrl-e`) to inspect its
sources.

When you look under the hood of an app, the first thing you see is a
_big-picture view_ which shows the app's major data structures and a top-down
view of the app's code.

<img alt='screenshot of big-picture view for the Towers of Hanoi' src='doc/hanoi-big-picture.png'>

Select a definition, make a change, hit `ctrl-e` again, and the app will run
with your updates. ([video](https://archive.org/details/akkartik-2021-11-14))

You will need some Unix-like platform with a C compiler and the ncurses and
openssl libraries. Some possible commands to install them, depending on your
Expand Down
Binary file added doc/hanoi-big-picture.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/hanoi.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion hanoi.tlv
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ end]==],
original]==],
main = [==[
function main()
curses.assume_default_colors(250, 30)
curses.assume_default_colors(250, 139)
for i=1,7 do
curses.init_pair(i, 0, i)
end
Expand Down

0 comments on commit 469ad4e

Please sign in to comment.