Skip to content

Commit

Permalink
Type safe register resolving
Browse files Browse the repository at this point in the history
  • Loading branch information
nomeata committed Sep 10, 2014
1 parent c2332f7 commit a4da3fe
Show file tree
Hide file tree
Showing 2 changed files with 95 additions and 87 deletions.
2 changes: 2 additions & 0 deletions example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ scripts:
# Here, the pen is going to play one of these three sounds randomly.
- $mode==2? $mode+=1 P(one,two,three)
- $mode==3? $mode:=1 P(back)
# You can either refer to a concrete register ($1), or a named register.
# tttool will map these to otherwise unused registers.
1402:
- $1==0?
- $1==1? P(one)
Expand Down
Loading

0 comments on commit a4da3fe

Please sign in to comment.