blob: aade91b6360706aa4ad7866401493f23c3cd4fd2 (
plain)
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
|
# Specification of Nectar.
===================================
# 0: General Information:
===================================
- ABI: PEF based.
- Typing System: Weak.
- Output: NeKernel Assembler/Netwide Assembler.
- Platforms: OS X, POSIX, NeKernel.
===================================
# 1: Concepts:
===================================
- `&` Checked pointer type.
- `*` Unchecked pointer type.
- `.` Checked pointer access.
- `->` Unchecked pointer access.
- `impl` Implementation data structure, useful for proxies, iterators, etc.
- `struct` Data implementation of `impl` -- useful to store fields and such.
- `let` Pointer/Reference variable declaration.
- `const` and `let` declaration.
- Functions support.
- `import` import bss data.
- `extern` import text data.
- Nested Stubs support.
===================================
# 2: Operators:
===================================
- `:=` Equals/Assign operator.
- `==` Equals-To operator.
- `!=` Not Equals-To operator.
===================================
# 3: The Generics Library:
===================================
Nectar runs using the Generics Library (GL) -- it contains foundational code to run nectar applications and systems.
- //@ Are considered NectarDocs comments.
- NectarDocs are used to describe behavior of the code -- some Javadoc syntax is supported. Such as: @brief, @param.
|