Thorium (2) [Avatar] Offline
#1
I sent mail to Tomas, but he was on holidays..

I did read the one chapter pdf that is online about "Parsing text-based languages" with F#.

I'm working with big enterprise software. We have over 600 C# projects and I have used F#, to parse project information: for example, to parse build-output-log and combine it with parsing and modifying .csproj-files: to enable warnings-as-errors and code-analysis on those projects that pass those in the build.

So I have done some real-world parsing and there is a concept that may not be so obvious for imperative programmers, but which is very useful: You can easily parse logs based on multiple lines with multiple :: (cons) -operators.

Small example:
https://gist.github.com/Thorium/6088882

--
- Tuomas