Measures Concepts
GitHub icon

Rascal

Rascal - Grammar language

< >

Rascal is an open source grammar language created in 2013.

Source code:
git clone https://github.com/usethesource/rascal
#645on PLDB 11Years Old 722Repos

Rascal is an experimental domain specific language for metaprogramming, such as static code analysis, program transformation and implementation of domain specific languages. It is a general meta language in the sense that it does not have a bias for any particular software language. It includes primitives from relational calculus and term rewriting. Read more on Wikipedia...


Example from Linguist:
module Syntax extend lang::std::Layout; extend lang::std::Id; start syntax Machine = machine: State+ states; syntax State = @Foldable state: "state" Id name Trans* out; syntax Trans = trans: Id event ":" Id to;

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