Skip to content

Commit 738909c

Browse files
committed
fixed cross-RAP references and added keywords
1 parent 7177c0a commit 738909c

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

courses/RascalAmendmentProposals/RAP10/RAP10.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ sidebar_position: 10
1212

1313
## Abstract
1414

15-
Rascal can be executed in JVM threads (as in the Eclipse context for example) and also we plan to add concurrency features to Rascal itself (RAP 8). This puts a lot more pressure on our IO mechanism than before, leading to races on disk and on other external resources identified by values of type `loc`.
15+
Rascal can be executed in JVM threads (as in the Eclipse context for example) and also we plan to add concurrency features to Rascal itself ((RAP8)). This puts a lot more pressure on our IO mechanism than before, leading to races on disk and on other external resources identified by values of type `loc`.
1616

1717
We propose to extend the URIResolverRegistry (which is Rascal’s generic resource access mechanism) with a cross-cutting “locking” feature that is safe (up to *unpredicted* aliasing of location URIs).
1818

@@ -117,7 +117,7 @@ A second part of the proposal is to expose this locking feature on the language
117117
* `loc (str x, bool append=false)` will write a `str` to the file (replacing it, or appending to it)
118118
* Example: `|home:///.bashrc|(“\#\! /bin/bash”);`
119119
* Motivation: if `**sync**` is builtin, and does not require importing an IO library, it would be inconsistent to have to import a module to read/write from/to source locations.
120-
* See also **\[RAP 2\]** which avoids importing util::ValueUI and ParseTree by making types simulate parsing functions using the CallOrTree syntax.
120+
* See also ((RAP2)) which avoids importing `util::ValueUI` and `ParseTree` by making types simulate parsing functions using the CallOrTree syntax.
121121
* The CallOrTree semantics would be overloaded with one more feature, letting a location “act” as a read/write function.
122122
* However, locations are **not** suddenly or accidentally also sub-typed of functions\!
123123
* This is \_only\_ about overloading CallOrTree, unambiguously

courses/RascalAmendmentProposals/RAP14/RAP14.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ Given the syntax and semantics of Rascal, here we list concrete changes to libra
8484
* hence extend-x-incompatibility is transitive over the inverse extend relation.
8585
* L is extend-x-incompatible (at least) if L is import-x-incompatible.
8686
* L is import-x-incompatible if:
87-
* At least one alternative of an overloaded function is removed.[^1] Removing alternatives breaks the dispatch function inside the client module C for the overloaded functions. After RAP 6 this would only happen in modules that *extend* the broken module.
88-
* At least one alternative of an overloaded function is added..[^2] Adding alternatives breaks the dispatch function inside the client module C for the overloaded functions. After RAP 6 this would only happen in modules that *extend* the broken module.
87+
* At least one alternative of an overloaded function is removed.[^1] Removing alternatives breaks the dispatch function inside the client module C for the overloaded functions. After ((RAP6)) this would only happen in modules that *extend* the broken module.
88+
* At least one alternative of an overloaded function is added..[^2] Adding alternatives breaks the dispatch function inside the client module C for the overloaded functions. After ((RAP6)) this would only happen in modules that *extend* the broken module.
8989
* An alternative constructor of an ADT is removed (adding is fine)
9090
* An alias definition is removed (adding is fine)
9191
* A public global variable is removed (adding is fine)
@@ -103,13 +103,13 @@ Given the syntax and semantics of Rascal, here we list concrete changes to libra
103103
* An alternative (or more) is added to an overloaded function via
104104
* A normal addition typed into the current module
105105
* Extending a new module that has the same (overloaded) function as in the current module, or another extended module
106-
* Importing a new module (as above).. *Note that this behavior would change if we apply the simplifications or RAP 6*
106+
* Importing a new module (as above). Note that this behavior would change if we apply the simplifications of (((RAP6)).
107107
* An alternative (or more) are removed from an overloaded function via:
108108

109109

110110

111111
* Having been removed from an extended module, or not extending said module anymore.
112-
* Having been removed from an imported module, or not importing said module anymore (see also RAP 6\)
112+
* Having been removed from an imported module, or not importing said module anymore (see also ((RAP 6)) )
113113
* Conversely, this is a list of changes that should be import-compatible and extend-compatible:
114114
* Adding non-functional tags to functions (like @synopsis)
115115
* Changes to private functions are always import-compatible, but not extend-compatible

courses/RascalAmendmentProposals/RAP6/RAP6.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: RAP 6 - improved import/extend semantics
33
sidebar_position: 6
44
---
55

6-
| RAP[^1] | 6 |
6+
| RAP | 6 |
77
| :---- | :---- |
88
| Title | improved import/extend semantics |
99
| Author | Jurgen Vinju |
@@ -127,4 +127,3 @@ Negative consequences:
127127
* And such as overloaded functions which miss cases
128128
* Suggest qualified names when a function is shadowed but reachable from an import.
129129

130-
[^1]: RAP is at the moment following Pyhton’s PEP ([https://www.python.org/dev/peps/](https://www.python.org/dev/peps/)). We need to look at other projects to see what is best. See for instance, [http://yt-project.org/](http://yt-project.org/)

courses/RascalAmendmentProposals/RAP8/RAP8.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The proposal is to introduce a single structured “for-loop-like” programming
1818

1919
The `fork` statement ends when all of its concurrent loop blocks have ended (if it returns results) and it then returns a list of values in the order of spawning each block. If no results are computed, the fork statement ends after spawning all of its computations directly.
2020

21-
As file locations, the `loc` type, in Rascal is highly prominent and these “point” to external file locations and other resources outside of the JVM, the concurrency feature also requires us to think about resource locking. This can be implemented and designed orthogonally, see RAP 10\.
21+
As file locations, the `loc` type, in Rascal is highly prominent and these “point” to external file locations and other resources outside of the JVM, the concurrency feature also requires us to think about resource locking. This can be implemented and designed orthogonally, see ((RAP10)).
2222

2323
## Motivation
2424

0 commit comments

Comments
 (0)