$
atoms / named function parameters&
function call()
group expressions are expression[]
list of values or key-value pairs{}
statements@
keyword- `` ` backticks for template strings
_
unused identifier (discard) or anonymous.- Digit separated in number literals.
;
end of statement or expression
.
float literals
,
separate values or parameters:
adds optional type/
division#
comment
=
assignment
|
pipe*
multiply+
add++
concat string@\
lambda / block ?
..
series / range...
spread
Maybe ?
==
equality===
identity
~
!
%
^
?
@name Employee = (name = "Nathan Hedglin", tenure = (Days 365), role = $Manager, salary = $165_000.00)
@name Fib = [1,3,5,7,9]
@name ops = {
1 + 1;
3 + 4;
}
So far _
does 3 things is too much.
_
throw away_
number separated. This isn't as concerning as_
for private identifiers. I could change it to'
since that isn't used anywhere else but that would add a new symbol that is used; a delicate balance. Parenthesis,()
could be used I suppose kinda like how""
are used for names with spaces.(1 000 000)
_private
private. Could be replaced with@@private
annotation or@export
the former is preferred.