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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ For more information see: [`getrandom` WebAssembly Support][getrandom-webassembl

### Example

![Example](docs/img/latestDemo.gif)
![Boa REPL](docs/img/latestDemo.gif)

### Command-line Options

Expand Down
22 changes: 22 additions & 0 deletions demo.tape
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Output docs/img/latestDemo.gif

Set FontSize 36
Set Width 2026
Set Height 1022
Set TypingSpeed 80ms

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

Type `const greeting = name => "Hello, " + name + "!"`
Enter
Sleep 1s

Type `greeting("Boa")`
Enter
Sleep 1s

Type `[1, 2, 3].map(n => n ** 2)`
Enter
Sleep 2s
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.