Skip to main content

Toy Examples

rascal-0.40.17

Synopsis

Some basic, hello world-like, examples of Rascal programs that you might have encountered in other languages as well.

Description

We discuss the following examples:

Benefits

  • Typically you would know how to code these examples in your favorite language. By showing them in Rascal you can make the connection.

Pitfalls

  • These programs illustrate various features of Rascal; they are not representative as use cases of the language. Rascal is geared towards meta programming: designing and dissecting software languages.