trashcan 0.1.0

a simple language which compiles to Visual Basic 6 / VBA
Documentation
  • Coverage
  • 30.11%
    137 out of 455 items documented0 out of 198 items with examples
  • Size
  • Source code size: 366.78 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 20.94 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • derrickturk/trashcan
    2 1 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • derrickturk

trashcan

"the name of this trashcan is Visual Basic"

trashcan is a simple language with abbreviated syntax (similar to Rust, in which the compiler is not coincidentally written) which compiles to Visual Basic (the old, gross one).

Key features of the trashcan language over VB include:

  • No more damn case insensitivity
  • Short-circuiting boolean expressions
  • Generic types and functions
  • Simplified iteration (for-each loops)
  • Mandatory typing with limited type-checking enhancements
  • Syntactic conveniences (e.g. += and friends)
  • Array and structure literals
  • Objects with constructors (use validated only for trashcan code)
  • Somehow, improved error handling (?)
  • Closures (?)

trashcan is inspired by previous work on extending the VB language with m4 macros: https://gist.github.com/derrickturk/5c01caab93bbd6bc9ddd

work in progress, licensed for commercial or non-commercial use under GPL 3.0 or later

Critical implementation note:




(c) 2017-2019 dwt | terminus data science, LLC