texmacs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Texmacs-dev] .scm file -> hashmap


From: Joris van der Hoeven
Subject: Re: [Texmacs-dev] .scm file -> hashmap
Date: Wed, 4 Dec 2002 18:52:10 +0100 (MET)

> As my work on new translator/converter classes continues, I need a
> facility to read the contents of a .scm dictionary file into a (c++)
> hashmap. Instead of writing a(nother) parser for .scm files, it may be
> more sensible to use some scheme/guile functionality to achieve this.
> So, is there a way to do this already?

Yes, you may use "load_string" in combination with the converters from
strings to trees like "scheme_to_tree" and from trees to hashmaps (implicit).

I also wrote a small email last week on this mailing list on what
new features would be nice for the "translators" in src/Resources.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]