I'm learning F# because I'd like to write a lexer and parser. I have a tiny bit of experience with this sort of processing but really need to learn it properly as well as F#.
When learning the lexing/parsing functionality of F#, is studying lex and yacc sufficient?
Or are there some differences that means code for lex/yacc will not wor...
Hi!
I've been using C/lex for a long time and would like to use F#/fslex now.
I'm comparably well off in C# and in the process of learning F#.
The only thing is that I can't see any project example or template where fslex is properly included in the Visual Studio build process.
Does anyone know where I can find one?
Lots of Greetings!
V...
Type mismatch. Expecting a LexBuffer<char> but given a LexBuffer<byte> The type 'char' does not match the type 'byte'
This is the error message that I am getting while using fslex. I have tried manually checking every single occurrence of lexbuf and its type. It's LexBuffer<char> everywhere. But still the compiler i...
In namespace RSLispV3.RunTime:
http://pastebin.com/XNb9qi11
LispParser.fsy:
http://pastebin.com/pymF1Vvm
LispLexer.fsl:
http://pastebin.com/pfXdDuxs
I got in MSBuild the PowerPacks targets, calling them from the .fsprog.
When building with VS2008 I get error: "fslex.exe" exited with code 1.
Help?
...
I am trying to compile this project:
http://ramon.org.il/Here.zip
But I get a bunch of non-sense errors. They got text I am familiar with, but in the position there is nothing like that (like unexpected ')' at an empty row).
Help me, please!
...
I've been working on a compiler for a while but after changing to PowerPack 1.9.9.9 and the release version of VS2010 I'm no unable to compile the following line:
let lexbuf = Lexing.from_string text
I get the following two error:
"The value, constructor, namespace or type 'from_string' is not defined" pretty obviopus what it's trying...
Hi everybody,
I got some problem with my FSLex which I can't solve... All I know is that fslex.exe exited with code 1...
The F# code at the top was tested in F# Interactive, so the problem isn't there (I can't see how).
Lexer:
http://pastebin.com/qnDnUh59
And Parser.fsi:
http://pastebin.com/sGyLqZbN
Thanks,
Ramon.
...