Measures Concepts
GitHub icon

Praat Script

Praat Script - Programming language

< >

Praat Script is a programming language created in 1997.

Source code:
git clone https://github.com/praat/praat
#683on PLDB 27Years Old

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 Token Example
Comments ✓
# A comment
Line Comments ✓ #
# A comment
Semantic Indentation X

View source

- Build the next great programming language · Search · Add Language · Features · Creators · Resources · About · Blog · Acknowledgements · Queries · Stats · Sponsor · Day 605 · feedback@pldb.io · Logout