-
Notifications
You must be signed in to change notification settings - Fork 2
Syntax
Gunner edited this page Jun 11, 2022
·
2 revisions
Syntax refers to the rules that define the structure of a language. Syntax in computer programming means the rules that control the structure of the symbols, punctuation, and words of a programming language. Without syntax, the meaning or semantics of a language is nearly impossible to understand.
-
::- An equivalent of the=>symbol in JavaScript -
~>and<~- start and end to a object (or a function if you use it like this)
@variable functionThing = () :: ~>
!! things here
<~-
<and>- JS equivalents to "[]". Used for getting a specific item in a arrays. -
[and]- JS equivalents of "()". used for calling functions, and making them.