Skip to content

Commit 78d2e31

Browse files
authored
Fix broken links and remove mentions of old make targets (#33)
* Fix broken links to github source * Broken link and update testing references
1 parent c19df12 commit 78d2e31

File tree

6 files changed

+19
-24
lines changed

6 files changed

+19
-24
lines changed

docs/how-to-guides/accelerate.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ using `mi compile --accelerate example.mc`, the `map` function `f` is applied
7575
to the elements of `s` in parallel, on the GPU. In this case, as we make use of
7676
`map`, it will execute using the Futhark backend.
7777

78-
See the [accelerate examples](https://github.com/miking-lang/miking/tree/develop/test/accelerate) directory for more
78+
See the [accelerate examples](https://github.com/miking-lang/miking/tree/develop/src/test/accelerate) directory for more
7979
examples.
8080

8181
## Sequence sizes

docs/reference/externals.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ make
189189
To run the sundials-specific test suite, use the command:
190190

191191
```
192-
make test-sundials
192+
misc/test sundials
193193
```
194194

195195
To install for the current user, run `make install` as usual.
@@ -224,7 +224,7 @@ dune install
224224
You can then test the solver in Miking with
225225

226226
```
227-
make test-ipopt
227+
misc/test ipopt
228228
```
229229

230230
### External Dependent Utests Pruning
@@ -265,10 +265,11 @@ removed as these currently do not support externals at all.
265265
#### Test organization
266266
`make test-all` runs all tests, disabling utest pruning for compiled files
267267
(i.e. if dependencies are not met, you get an error). The recepie `make
268-
test-all-prune-utests` runs all tests but prunes non-supported utests which is
268+
test` runs all tests but non-supported tests which is
269269
handy if your system only meet the dependencies of a subset of the
270270
externals. Interpreted files are always pruned of external dependent
271-
utests. Please consult the makefiles for more details.
271+
utests. Please consult the [testing page](/docs/reference/testing-miking)
272+
or makefiles for more details.
272273

273274
#### Authoring new external libraries
274275
To maintain the flexibility of the test organization, future external libraries

docs/reference/intrinsics.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,22 @@ This file only represents preliminary content.
1313
The current documentation of intrinsics is implicit via code
1414
containing `utest` expressions. Please see the following files:
1515

16-
* [Boolean intrinsics](https://github.com/miking-lang/miking/blob/develop/test/mexpr/bool-test.mc)
16+
* [Boolean intrinsics](https://github.com/miking-lang/miking/blob/develop/src/test/mexpr/bool-test.mc)
1717

18-
* [Integer intrinsics](https://github.com/miking-lang/miking/blob/develop/test/mexpr/int-test.mc)
18+
* [Integer intrinsics](https://github.com/miking-lang/miking/blob/develop/src/test/mexpr/int-test.mc)
1919

20-
* [Floating-point number intrinsics](https://github.com/miking-lang/miking/blob/develop/test/mexpr/float-test.mc)
20+
* [Floating-point number intrinsics](https://github.com/miking-lang/miking/blob/develop/src/test/mexpr/float-test.mc)
2121

22-
* [Strings intrinsics ](https://github.com/miking-lang/miking/blob/develop/test/mexpr/string-test.mc)
22+
* [Strings intrinsics ](https://github.com/miking-lang/miking/blob/develop/src/test/mexpr/string-test.mc)
2323

24-
* [Sequences intrinsics ](https://github.com/miking-lang/miking/blob/develop/test/mexpr/seq-test.mc)
24+
* [Sequences intrinsics ](https://github.com/miking-lang/miking/blob/develop/src/test/mexpr/seq-test.mc)
2525

26-
* [Side effect (printing, I/O, debugging etc.) intrinsics](https://github.com/miking-lang/miking/blob/develop/test/mexpr/effects.mc)
26+
* [Side effect (printing, I/O, debugging etc.) intrinsics](https://github.com/miking-lang/miking/blob/develop/src/test/mexpr/effects.mc)
2727

28-
* [Symbol intrinsics](https://github.com/miking-lang/miking/blob/develop/test/mexpr/symbs.mc)
28+
* [Symbol intrinsics](https://github.com/miking-lang/miking/blob/develop/src/test/mexpr/symbs.mc)
2929

30-
* [Reference intrinsics](https://github.com/miking-lang/miking/blob/develop/test/mexpr/references.mc)
30+
* [Reference intrinsics](https://github.com/miking-lang/miking/blob/develop/src/test/mexpr/references.mc)
3131

32-
* [Random number generation intrinsics](https://github.com/miking-lang/miking/blob/develop/test/mexpr/random-test.mc)
32+
* [Random number generation intrinsics](https://github.com/miking-lang/miking/blob/develop/src/test/mexpr/random-test.mc)
3333

34-
* [Time intrinsics](https://github.com/miking-lang/miking/blob/develop/test/mexpr/time.mc)
34+
* [Time intrinsics](https://github.com/miking-lang/miking/blob/develop/src/test/mexpr/time.mc)

docs/reference/mi-syn.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ A language defined by a `.syn` file has a name, a number of syntactic types, tok
104104

105105
:::info
106106

107-
The syntax of a `.syn` file is itself defined in [a `.syn` file](https://github.com/miking-lang/miking/blob/develop/stdlib/parser/selfhost.syn).
107+
The syntax of a `.syn` file is itself defined in [a `.syn` file](https://github.com/miking-lang/miking/blob/develop/src/stdlib/parser/selfhost.syn).
108108

109109
:::
110110

@@ -169,7 +169,7 @@ token LName {
169169

170170
A `token` declaration extends the generated lexer with tokens and how to lex them. Each token is declared in its own language fragment in an `.mc` file, which can be included via an [`include` declaration](#include).
171171

172-
For examples of lexing language fragments, see [parser/lexer.mc](https://github.com/miking-lang/miking/blob/develop/stdlib/parser/lexer.mc) in the Miking standard library. All language fragments in `parser/lexer.mc` are available in a `.syn` without an explicit `include`, though they still require `token` declarations to be usable in the grammar.
172+
For examples of lexing language fragments, see [parser/lexer.mc](https://github.com/miking-lang/miking/blob/develop/src/stdlib/parser/lexer.mc) in the Miking standard library. All language fragments in `parser/lexer.mc` are available in a `.syn` without an explicit `include`, though they still require `token` declarations to be usable in the grammar.
173173

174174
Each token declaration can have a number of properties:
175175

docs/reference/parallel-programming.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ utest atomicFetchAndAdd a (subi 0 45) with 3 in
6565
## Multi-Threaded Execution
6666

6767
Functions for handling threads are provided in
68-
[multicore/threads.mc](https://github.com/miking-lang/miking/blob/develop/src/stdlib/multicore/threads.mc).
68+
[multicore/thread.mc](https://github.com/miking-lang/miking/blob/develop/src/stdlib/multicore/thread.mc).
6969
The following example program spawns 10 threads that compete for printing their
7070
IDs:
7171

docs/reference/python.md

-6
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,6 @@ NOTE: Currently, there seems to be a problem with the current OPAM bindings with
2424
opam pin stdcompat 15
2525
```
2626

27-
To run the Python-specific test suite:
28-
29-
```
30-
make test-boot-py
31-
```
32-
3327
To install for the current user, run `make install` as usual.
3428

3529
## Usage

0 commit comments

Comments
 (0)