Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

Praat Script

< >

Praat Script is a programming language created in 1997.

#573on PLDB 27Years Old
Download source code:
git clone https://github.com/praat/praat
Homepage · Source Code

The language is bundled with Praat, a speech analysis tool, to execute menu and action commands.


Example from the web:
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

Language features

Feature Supported Example Token
Comments ✓ # A comment
Line Comments ✓ # A comment #
Semantic Indentation X
View source
- Build the next great programming language · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements · Part of the World Wide Scroll