Praat Script is a programming language created in 1997.
#748on PLDB | 26Years Old | 1.5kUsers |
0Books | 0Papers |
The language is bundled with Praat, a speech analysis tool, to execute menu and action commands.
clearinfo
# print fizzbuzz result
procedure fizzbuzz: .i
if .i mod 15 == 0
appendInfoLine: "fizzbuzz"
elsif .i mod 3 == 0
appendInfoLine: "fizz"
elsif .i mod 5 == 0
appendInfoLine: "buzz"
else
appendInfoLine: .i
endif
endproc
for i from 1 to 100
@fizzbuzz: i
endfor
Feature | Supported | Token | Example |
---|---|---|---|
Comments | ✓ | # A comment |
|
Line Comments | ✓ | # | # A comment |
Semantic Indentation | X |