Skip to content

Instantly share code, notes, and snippets.

@baroquebobcat

baroquebobcat/list.md

Last active Aug 29, 2015
Embed
What would you like to do?
mirah_one_point_oh_feature_list

TODO List For 1.0

  • Finish closures

    • wrap new closure implementation so that this isn't an issue: https://github.com/mirah/mirah/issues/276
    • stabby lambdas
      • potato: add to parser w/ compiler error
    • non-local return
      • potato: just disallow return inside blocks converted into closures that aren't lambdas
    • nested bindings: they should work nicely
    • Java 8 MetaLambdaing when targeting 8. It'd be cool if we could use Java 8's lambda impl when on 8
  • access level modifiers / synchronized

    • modify class scope so that it has retains state about access levels
    • attach modifiers to method definitions based on access level state
    • read modifiers from code gen--some of this is done
  • case expression

    • potato
      • add to parser w/o adding to compiler. done
      • convert to naive if elsif
    • figure out what the callback for when is
    • wire into typer / compiler
    • specialize certain types for case statements--eg enums / nums should -> jump table
  • extensions

  • interface default methods

  • generics

    • decide on syntax
    • potato: add syntax to parser
  • define operator set

    • == / ===
    • <=>
    • etc
  • finish constants

  • they've got scope issues -- private constants aren't helpful

  • they are not lookupable from subclasses

  • issues:

  • https://github.com/mirah/mirah/issues/277

  • better boxing

  • issues:

  • https://github.com/mirah/mirah/issues/266

Pie in the sky

  • macro definable intrinsics?
  • it'd be cool if you could write a macro that drops ASM
  • goto?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment