Created
March 28, 2012 11:48
-
-
Save deltaluca/2225595 to your computer and use it in GitHub Desktop.
Bug occuring in both flash+neko
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.mindrocks.text.Parser; | |
using com.mindrocks.text.Parser; | |
import com.mindrocks.functional.Functional; | |
using com.mindrocks.functional.Functional; | |
using com.mindrocks.macros.LazyMacro; | |
import com.mindrocks.text.ParserMonad; | |
using com.mindrocks.text.ParserMonad; | |
using Lambda; | |
class BugParser { | |
// using: | |
// static var oneP = "1".identifier(); | |
// is just fine. | |
static var oneP = ParserM.dO({ "1".identifier(); ret("1"); }); | |
public static function main() { | |
trace(oneP()("1".reader())); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment