Skip to content

Latest commit

 

History

History
33 lines (30 loc) · 1.25 KB

TODO.md

File metadata and controls

33 lines (30 loc) · 1.25 KB

Important Things

  • foo.bar command chains
  • T< integer >-style expressions in types
  • Typealiases throw error
  • // Comments bork

Feature List

  • property/subscript
  • Binary operator
  • Unary operator
  • Functionized operator
  • Arglists
  • Function
  • regex
  • complex literal types: array, tuple, set, dictionary, closure (function without arglist)
  • write core functions in vsl e.g. if/else, for, while/``do_while/do while `
  • list + dictionary comprehensions
  • function flags + decorators (do the same thing)
  • Method calls
  • Command chains

Validation

  • Validate public top-level exports are deterministic structs.
  • Ensure no lone literals
  • Warn values w/ return (non-voided) when lone
  • Ensure no mixed top-level expressions with func main (include in decl.)
  • [ ]

Miscellaneous things, low priority

  • use readFile from fs-promise again, for some reason readFile bork
  • Don't use strings for constant tokens
  • Since nearley does not give sufficient info, create lexemes that match incorrect grammar and return an ErrorNode or something with details
  • Fork nearley and make generated js (BUT only do this after the major update)