-
-
Notifications
You must be signed in to change notification settings - Fork 85
/
neeilang.scroll
62 lines (50 loc) · 1.11 KB
/
neeilang.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
60
61
62
import ../code/conceptPage.scroll
id neeilang
name neeilang
appeared 2019
creators Neeilan Selvalingam
tags pl
writtenIn cpp llvmir cmake bourne-shell markdown
repoStats
firstCommit 2019
commits 175
committers 4
files 140
newestCommit 2023
country Unknown
originCommunity https://github.com/neeilan/neeilang/issues
reference https://www.reddit.com/r/ProgrammingLanguages/comments/erqm6s/neeilang_a_small_stronglytyped_language_oop/
example
fn main() : Int {
var a : Int = 5;
var b : Int = 3;
print a + b; // 8
print a - b; // 2
print b - a; // -2
if (a >= 5) {
print "a >= 5"; // a >= 5
}
if (a > 5) {
print "a > 5"; // Not executed
}
if (a < 5) {
print "a < 5"; // Not executed
}
if (5 <= a) {
print "5 <= a"; // 5 <= a
}
githubRepo https://github.com/neeilan/neeilang
firstCommit 2019
stars 42
subscribers 3
created 2019
updated 2022
description Fast, type-safe, object-oriented language by yours truly
forks 2
issues 0
lineCommentToken //
hasLineComments true
// A comment
hasComments true
// A comment
hasSemanticIndentation false