Skip to content

ExpressionEvaluator Todo List

Coding Seb edited this page Apr 12, 2019 · 39 revisions

Here is just a small todo list (real stuff to do and ideas, maybe some will never be done)

More customization

  • On the fly parsing (with current expression,ref position and the stack)
  • Custom operators (see #27)
    • On the fly operators
    • Operators Dictionary easy customisation
    • Add a way to allow aliases for existing operators like Or, And
    • Add a way to add some custom operators and corresponding implementations
    • Flexible length of the operators
    • Types : multiple operands vs Single operands (Maybe start with only 2 operands operators)
    • Take care of operators precedences (priorities)
  • Add generic types in var and func events

More C# like thing support

  • Manage Tuples
  • Add nameof keyword
  • Manage ref method args
  • Manage in method args
  • Manage out method args
  • Manage params methods args
  • Subscribe to event
  • Manage switch case

Optimization doing things better

  • Manage inline namespaces faster
    • Add some options for cached resolution of namespaces and types for better perfs.
  • Better variables management
    • Typed variables or optionally use var keyword
    • declare struct and valuetypes without new keyword
    • variables scoped to blocks
  • Find a way to manage extentions methods without the need to declaring the static type and withoutbeeing too slow

Other

  • Return a Func or an Action

Done

  • Manage structs
  • Option to force integer eval as decimal types
  • Manage number decimalnseparator and functions arguments separators
  • Manage sizeof keyword
  • Binary numbers
  • Hexadecimal numbers
  • ++ and -- as prefix operators
  • ++ and -- as prefix operators
  • ++ and -- as prefix operators
  • ++ and -- as prefix operators
  • ++ and -- as prefix operators
  • ++ and -- as prefix operators
  • ++ and -- as prefix operators

Table Of Content

Clone this wiki locally