caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] camlp4 vs. ocamllex/yacc?
@ 2003-01-24 14:15 Daniel Andor
  2003-01-24 14:32 ` Jacques Carette
  2003-01-24 15:12 ` Jean-Christophe Filliatre
  0 siblings, 2 replies; 5+ messages in thread
From: Daniel Andor @ 2003-01-24 14:15 UTC (permalink / raw)
  To: caml-list

Hi,

I want to write a smallish translator that would read mathematical formulae in 
an easy to read (for humans, that is) format and translate them to a computer 
language (ocaml, fortran, c, latex, etc) for output.  In the process it could 
do simple consistency checks (like making sure the dimensionality of physical 
equations are correct, for example) on the parse tree. 

What are the advantages/disadvantages of using camlp4 vs. a combination of 
ocamllex and ocamlyacc?  

Is there already a translator like this out there (to save me the effort)?  

Any tips on how consistency checks on the equations could be made harnessing 
the power of the type system?

Thanks,
Daniel.
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-01-27  6:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-24 14:15 [Caml-list] camlp4 vs. ocamllex/yacc? Daniel Andor
2003-01-24 14:32 ` Jacques Carette
2003-01-24 15:12 ` Jean-Christophe Filliatre
2003-01-24 16:21   ` Alain.Frisch
2003-01-26  2:50   ` Ed L Cashin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).