Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions demo.tape
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
Output docs/img/latestDemo.gif

Set FontSize 20
Set Width 1400
Set Height 700
Set TypingSpeed 100ms

Type `./target/debug/boa`
Enter
Sleep 4s

Type `2 + 2`
Enter
Sleep 3s

Type `const greet = (name) => "Hello, " + name + "!"`
Enter
Sleep 3s

Type `greet("World")`
Enter
Sleep 3s

Type `[1, 2, 3].map(x => x * 2)`
Enter
Sleep 3s

Type `try { null.property } catch(e) { console.log("Caught: " + e.message) }`
Enter
Sleep 4s
Binary file modified docs/img/latestDemo.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading