Skip to content
Gunner edited this page Jun 11, 2022 · 2 revisions

Syntax

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.

What different symbols/characters mean

  • :: - 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.

More of the wiki is coming soon!

Clone this wiki locally