funki_templates

Crates.iofunki_templates
lib.rsfunki_templates
version0.1.0
sourcesrc
created_at2022-03-24 18:05:12.956912
updated_at2022-03-24 18:05:12.956912
descriptionA framework for creating functional domain specific languages.
homepage
repositoryhttps://github.com/AlfGalf/FunkyTemplates
max_upload_size
id555845
size108,983
Alfie Richards (AlfGalf)

documentation

README

Funky Templates

TODOs:

Parser:

  • Patterns
  • Logic operators
  • Other number operators
  • Full document
  • Multiline string
  • String interpolation
  • Multi line string interpolation
  • Lambdas
  • Parse time errors
  • Underscores parse time error stuff
  • Move string escaping to lalrpop
  • Use parser errors better
  • Check scope rules at parse time

Interpreter:

  • Basic arithmetic and string building DONE
  • Basic function calling and frames
  • Arguments
  • String interpolation
    • Escape sequences
  • Pattern matching
    • TEST
  • Lists
  • Guards
    • TEST
  • Booleans
    • TEST
  • Token hashtable? - not doing
  • Better errors (@L @R)
    • Add location data to ast
    • Use AST to make errors
  • Underscores
  • Closures
  • Builtin function
    • List
      • TEST
    • Get
      • TEST
    • Map
    • Filter
    • Any
    • All
    • Fold
    • Length
  • Extra functions
  • Extra operators
  • Extra types

API:

  • Look into API design patterns in Rust
  • Define API
  • Adding arguments
  • Flesh out return types
  • Adding extra builtin functions, types, and operators

Documentation

API:

  • Continue Docs

Language:

  • Work out format for language documentation
Commit count: 48

cargo fmt