-
-
Notifications
You must be signed in to change notification settings - Fork 85
/
nymph.scroll
59 lines (49 loc) · 1.17 KB
/
nymph.scroll
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
import ../code/conceptPage.scroll
id nymph
name Nymph
appeared 2017
creators Brandon Barber
tags pl
writtenIn c make nemerle markdown
fileExtensions n
repoStats
firstCommit 2017
commits 241
committers 8
files 16
newestCommit 2023
country United States
originCommunity https://github.com/maelswarm/nymph/issues
example
#include <stdio.h>
#include <stdlib.h>
class Mammal {
+ int population = 0; // Class Variable (+)
- int height = 0, weight = 100; // Object Variable (-)
+ Mammal *init(int height, int weight) { // Class Method (+) Constructor
this->height = height;
this->weight = weight;
Mammal->population++;
return this;
}
- void print() { // Object Method (-)
printf("print instance properties...\n");
}
}
githubRepo https://github.com/maelswarm/nymph
firstCommit 2017
stars 173
forks 6
subscribers 6
created 2017
updated 2022
description 🧚 A slightly different version of C.
issues 0
lineCommentToken //
printToken printf
hasLineComments true
// A comment
hasComments true
// A comment
hasPrintDebugging true
hasSemanticIndentation false