OCaml Hackers

(* TODO *)

Martin Jambon
  • Male
  • Lyon
  • France
Share 

Martin Jambon's Friends

 

Martin Jambon's Page

Latest Activity

Martin Jambon added a blog post
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 thr...
June 12

Martin Jambon's Blog

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

Posted on June 12, 2009 at 3:20pm —

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

Posted on March 12, 2009 at 5:00pm —

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.

Posted on October 15, 2008 at 2:28am —

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.

Posted on July 7, 2008 at 8:51pm —

Martin Jambon

Test

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

Posted on June 26, 2008 at 10:37pm —

Comment Wall

You need to be a member of OCaml Hackers to add comments!

Join this social network

  • No comments yet!
 
 

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