Some basic, hello world-like, examples of Rascal programs that you might have encountered in other languages as well.
We discuss the following examples:
- Typically you would know how to code these examples in your favorite language. By showing them in Rascal you can make the connection.
- 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.