Skip to content

Commit ae43222

Browse files
committed
Removed notes from top of LRM.
1 parent adf4b62 commit ae43222

File tree

1 file changed

+0
-76
lines changed

1 file changed

+0
-76
lines changed

docs/LRM.md

Lines changed: 0 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -1,79 +1,3 @@
1-
2-
3-
* fn
4-
* struct
5-
* enum
6-
7-
# functions
8-
9-
fn f(a: i32, b: String): u32 = {
10-
11-
}
12-
13-
fn identifier( parameters ): type (; | = expr)
14-
15-
parameters = | parameter | parameter , parameters
16-
17-
parameter = identifier : type
18-
19-
type =
20-
| ()
21-
| bool
22-
| i(8 | 16 | 32 | 64)
23-
| u(8 | 16 | 32 | 64)
24-
| f(32 | 64)
25-
| type *
26-
27-
args = | expr | expr, args
28-
29-
func_call = expr (args)
30-
31-
expr =
32-
| identifier
33-
| func_call
34-
| string_literal
35-
36-
37-
fn puts(s: u8*): ();
38-
39-
fn main(): () = {
40-
puts(c"Hello, World")
41-
}
42-
43-
44-
45-
46-
47-
48-
49-
50-
51-
52-
53-
54-
55-
56-
57-
58-
59-
60-
61-
62-
63-
64-
65-
66-
67-
68-
69-
70-
71-
72-
73-
74-
75-
76-
771
# C* - Language Reference Manual
782

793
Github link: https://github.com/kkysen/cstar/blob/main/LRM.md

0 commit comments

Comments
 (0)