OCaml Hackers

(* TODO *)

Latest Activity

pierre gobin is now a member of OCaml Hackers
August 22
Guillaume Nargeot is now a member of OCaml Hackers
July 26
Martin Jambon added a note
All blog posts tagged "ocaml" are automatically visible at  http://planet.ocamlcore.org/ Don't forget to tag any post relevant to OCaml with "ocaml" and of course any other tags of your choice Posts that are not relevant to OCaml at all may not n...
March 13
Martin Jambon added a blog post
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 ...
March 12
February 23

Notes

OCamlcore Planet

All blog posts tagged "ocaml" are automatically visible at  http://planet.ocamlcore.org/

  1. Don't forget to tag any post relevant to OCaml with "ocaml" (plus any other tags if you want).
  2. Posts that are not relevant to OCaml at all may not be tagged "ocaml".

Created by Martin Jambon Mar 13, 2009 at 12:57am. Last updated by Martin Jambon Oct 9.

OCaml Community Links

Project hosting

Email forums

IRC

  • #ocaml

Created by Martin Jambon Jul 1, 2008 at 2:43pm. Last updated by Martin Jambon Oct 9.

Notes Home

Welcome to Notes.

Created by Jun 26, 2008 at 10:00pm. Last updated by Martin Jambon Oct 9.

Blog Posts

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 by Martin Jambon 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 by Martin Jambon 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 by Martin Jambon 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 by Martin Jambon on July 7, 2008 at 8:51pm

Martin Jambon

Test

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

Posted by Martin Jambon on June 26, 2008 at 10:37pm

 
 

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