-
-
Notifications
You must be signed in to change notification settings - Fork 0
Brilliant Language
Kamil Adam edited this page Aug 21, 2023
·
5 revisions
Simple language inspireted Fruit Language and HaPyli.
Brilliant Language has:
- Macros
- Procedures
- Pointers
@someMacro (param1 param2 param3) {
}
; someProcedure \[param1 param2 param3] {
; result1 `someProcedure1 [param1]
; result2 `someProcedure2 [param2]
; result3 `someProcedure3 [param3]
[result1 result2 result3]
}
; nameOfDefiniotion bodyOfDefiniotion
\[param1 param2 param3] bodyOfAbstraction
(fun arg1 arg2 arg3)
{
(do1)
(do2)
(do3)
}
[val1 val1 val1]
Simple swap
; [a b] [b a]
-
.
nil? -
:
alloc ? -
,
pinter ? -
`
pointer?