OCaml Hackers

(* TODO *)

All Blog Posts (5)

Martin Jambon Multi-purpose indentation parser

This is meant to be a reusable parser for files where indentation matters. It only cares about space-based indentation. This implementation should probably be modified to support input other than files or in_channels. It originates from this thread on caml-list, where more information is given: http://caml.inria.fr/pub/ml-archives/caml-list/2009/06/628f99a8b518acc3fc9f3649b1901167.en.htmlContinue

Added by Martin Jambon on June 12, 2009 at 3:20pm — No Comments

Martin Jambon Ocamllex template

This is an example of using ocamllex for parsing structured text using ocamllex entirely. The language (Genbank format) is not yacc-friendly because tokens can't be extracted in a single pass independently from grammar rules. Input data:
LOCUS       AB000684                 275 bp    DNA     linear   ENV 29-JUL-2005DEFINITION  Uncultured bacterium gene for 16S rRNA, partial sequence, clone: 2
            of cluster I.
ACCESSION   AB000684
VERSION     AB000684.1  GI:1817504
KEYWORD
Continue

Added by Martin Jambon on March 12, 2009 at 5:00pm — No Comments

Martin Jambon OCaml meeting Grenoble 2009

It seems like the second OCaml meeting will take place in Grenoble. The first meeting was in Paris and had a lot of very interesting people. I'll go to Grenoble without hesitation, and I'm not the kind who likes meetings. Continue

Added by Martin Jambon on October 15, 2008 at 2:28am — No Comments

Martin Jambon Indentation made easy(ier)

Working on an Easy_format module - "Indentation made easy". This is a functional layer on top of the standard Format module. Code with examples is available at OCamlForge. Continue

Added by Martin Jambon on July 7, 2008 at 8:51pm — No Comments

Martin Jambon Test

Hey, use <pre> for code snippets:
print_endline "Hello, world."
Continue

Added by Martin Jambon on June 26, 2008 at 10:37pm — No Comments

About

Martin Jambon Martin Jambon created this social network on Ning.

Create your own social network!

Badge

Loading…

© 2009   Created by Martin Jambon on Ning.   Create Your Own Social Network

Badges  |  Report an Issue  |  Privacy  |  Terms of Service