caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] The library parsing S-expressions?
@ 2004-05-29  9:27 Yamagata Yoriyuki
  2004-06-03 12:44 ` Bruno.Verlyck
  0 siblings, 1 reply; 2+ messages in thread
From: Yamagata Yoriyuki @ 2004-05-29  9:27 UTC (permalink / raw)
  To: caml-list

Does anyone know a library converting S-expressions to AST?
Preferably, it would allow 8-bit characters in symbol names, bacause I
want to parse the file using Japanese symbol names.

It would not be difficult to implement by myself, though if there is a
library already proven to work, then that is better.

--
Yamagata Yoriyuki


-------------------
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] 2+ messages in thread

* Re: [Caml-list] The library parsing S-expressions?
  2004-05-29  9:27 [Caml-list] The library parsing S-expressions? Yamagata Yoriyuki
@ 2004-06-03 12:44 ` Bruno.Verlyck
  0 siblings, 0 replies; 2+ messages in thread
From: Bruno.Verlyck @ 2004-06-03 12:44 UTC (permalink / raw)
  To: yoriyuki; +Cc: caml-list

   Date: Sat, 29 May 2004 18:27:52 +0900 (JST)
   From: Yamagata Yoriyuki <yoriyuki@mbg.ocn.ne.jp>

   Does anyone know a library converting S-expressions to AST?
   Preferably, it would allow 8-bit characters in symbol names,
   bacause I want to parse the file using Japanese symbol names.
There's something like this in Cash, a sort of Scheme reader, in fact.
Files sexp.ml*, atomo.mll, schlex.ml*.  Anything that's not something
else (number, string) is a symbol, with 8-bit chars if any.  The
lexical syntax is inspired by Scheme, but the source is small and
should be easy to modify.

Bruno.
http://pauillac.inria.fr/cash/

-------------------
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] 2+ messages in thread

end of thread, other threads:[~2004-06-03 12:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-29  9:27 [Caml-list] The library parsing S-expressions? Yamagata Yoriyuki
2004-06-03 12:44 ` Bruno.Verlyck

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).