Logo

index : track

---

  • summary
  • about
  • tree
  • log
  • branches
<< path: root/public/track.git/html/test/example.jai blob: 886142574e47b21a7ea198204cddbea5e00a28e0 [raw] [clear marker]

        
0#import "Basic";
1
2main :: () {
3 // TODO: This is a simple todo inside the main proc
4 log("Hello!");
5
6 // TODO(Peter, 100): A different todo inside the main proc
7
8 // TODO(Peter, 99): a todo right below another todo, but
9 // separated by a newline. Otherwise those
10 // comments will bleed into each other. Sorry!
11}
12
13/** NOTE(Parker, 5) Some note. Colon omitted. Outside of main.
14 Plus different formatting. */
15
16
17// TODO(Muradrin, -30) The next string contains forward slashes:
18// Hello / this / is / a / test!
19// This/is/another/test/with/slashes
20
21/** TODO(slash, 241): Again a test with slashes: abc/xyz/123/789
22 Next line: abc / xyz / 123 / 789 */
23
24# TODO(slash, -1000) Slash test: hi/hello/foo/bar
25# Again: hi / hello/foo bar//double
26
27
28// Continue(ShortName): Test, after long author name. Some text to
29// provoke the line wrap. AAAAAOOOOOEEEEE!
30
31/* Continue(AuthorNameTooLong): Too long names will bleed into the next column.
32 I had to make some tradeoffs. But maybe I'll find a better solution in the future! */
33
34
35# NOTE Python comment. Illegal in a Jai file, but you wont compile it anyway!
36# Second line of the same Python comment
37
38-- NOTE: Lua style comment. Works too!
39-- A second line works also
40
41
42/// NOTE: Triple slashes working too.
43/// But no support for Rust doc strings currently. Sorry!
44
45
46/* Note(Peter, 9000): Fooo
47
48 A note with
49 different
50
51 formatting */
52
53 // TODO Auto-generated method stub
54
55
56// idea: some new idea here!
57
58
59/* NOTE: Some Ünicöde characters:
60 äääööüüüüüü™™™™€¢ŋ¶←ʒ˝þłøŧ→€łſ€ʒĸłħ&ª’€&ŊŁẞ‹ΩÆ˝ªØ€ØÞ˝
61 안녕하세요! 你好世界! Привет, мир! */
62
63
64
Copyright 2026  E766CB298A6D1E64 | Git-Thing heavily inspired by cgit