Skip to content

Commit

Permalink
Merge pull request #30 from usethesource/big-bang-0.10.0
Browse files Browse the repository at this point in the history
bumped most packages to their latest versions, only salix-* and rascal-lsp to go
  • Loading branch information
jurgenvinju authored Oct 20, 2023
2 parents 13a683d + 8ea5ba8 commit b5043be
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 27 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ docs/[A-Z]*

# Generated assets
static/assets/[A-Z]*
src/rascal/demo

# Misc
.DS_Store
Expand Down
2 changes: 1 addition & 1 deletion META-INF/RASCAL.MF
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Project-Name: rascal-website
Source: courses/Recipes, courses/Rascal
Source: courses/Recipes, courses/Rascal, src/temp
Require-Libraries: |lib://rascal-tutor|
16 changes: 2 additions & 14 deletions courses/Recipes/Toys/Hello/Hello.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Hello
---

The "Hello" example shows where to put your code such that it can do _something_. In this
The _Hello_ example shows where to put your code such that it can do _something_. In this
case all we do is print `Hello World...`. After you know where to put code such that it
can be executed, you can replace the slightly silly example with more useful things.

Expand Down Expand Up @@ -68,21 +68,9 @@ void hello() {

This module should be placed in `<project dir>/src/demo/basic/Hello.rsc`.

```rascal-prepare
import IO;
writeFile(|test-modules:///demo/basic/Hello.rsc|,
"module demo::basic::Hello
'
'import IO;
'
'void hello() {
' println(\"Hello world, this is my first Rascal program!\");
'}");
```

Using this `Hello` module is now simple:

```rascal-shell
```
import demo::basic::Hello;
hello();
```
Expand Down
26 changes: 14 additions & 12 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,18 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

<rascal-maven-plugin.version>0.20.1</rascal-maven-plugin.version>
<rascal.version>0.33.7</rascal.version>
<rascal-tutor.version>0.14.0</rascal-tutor.version>
<clair.version>0.9.4</clair.version>
<rascal-git.version>0.1.13</rascal-git.version>
<flybytes.version>0.2.2</flybytes.version>
<typepal.version>0.8.9</typepal.version>
<salix-core.version>0.2.2</salix-core.version>
<salix-contrib.version>0.2.2</salix-contrib.version>
<rascal-lsp.version>2.18.0</rascal-lsp.version>
<drambiguity.version>0.1.10</drambiguity.version>
<php-analysis.version>0.2.2</php-analysis.version>
<rascal-maven-plugin.version>0.22.0</rascal-maven-plugin.version>
<rascal.version>0.34.0</rascal.version>
<rascal-tutor.version>0.15.0</rascal-tutor.version>
<clair.version>0.10.1</clair.version>
<rascal-git.version>0.1.14</rascal-git.version>
<flybytes.version>0.2.3</flybytes.version>
<typepal.version>0.8.10</typepal.version>
<salix-core.version>0.2.3</salix-core.version>
<salix-contrib.version>0.2.4</salix-contrib.version>
<rascal-lsp.version>2.19.0</rascal-lsp.version>
<drambiguity.version>0.2.0</drambiguity.version>
<php-analysis.version>0.2.3</php-analysis.version>
</properties>

<build>
Expand Down Expand Up @@ -187,10 +187,12 @@
<src>${project.basedir}/courses/GettingStarted</src>
<src>${project.basedir}/courses/Rascalopedia</src>
<src>${project.basedir}/courses/Bibliography</src>
<src>${project.basedir}/src/rascal</src>
</srcs>
<ignores>
<ignore>|lib://rascal/org/rascalmpl/library/lang/rascal|</ignore>
<ignore>|lib://rascal/org/rascalmpl/library/lang/c90|</ignore>
<ignore>${project.basedir}/src/rascal/demo</ignore>
</ignores>
</configuration>
</execution>
Expand Down
2 changes: 2 additions & 0 deletions src/rascal/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
This folder is for temporary modules generated by the documentation scripts in
rascal-shell blocks.

0 comments on commit b5043be

Please sign in to comment.