ballercat/walt

Language Feature Document

Open

#73 aperta il 28 gen 2018

Vedi su GitHub
 (4 commenti) (2 reazioni) (0 assegnatari)JavaScript (155 fork)batch import
docsgood first issuehelp wanted

Metriche repository

Star
 (4637 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Goal

A user should be able to read through the features of a language.

Overview

Kind of hard to point others to specs etc., when trying to list out language features. Some of the early documentation is out of date on the wiki. We need an MD-file doc with all features clearly documented.

One thing of note is that, where possible, we can omit documentation for 1:1 JavaScript features. Like object access.

Acceptance Criteria

Think basic language doc, topics should be in the following order

  • Basic Types
  • Available Math operators
  • Control flow (list missing, switch)
  • Function declaration
  • Custom Function types
  • Exports, Imports
  • Walt custom types Table, Memory
  • Arrays and memory access
  • User-defined structs
  • Closures

Bonus points

  • Document what the syntax above is compiled to in WebAssembly opcodes!

Guida contributor