Subject: [Stratego-dev] Re: [Stratego-cvs] SVN commit: StrategoXT - 9503 - merijn - in trunk/koala-compiler: . frontend
From: [email-masked] (Martin Bravenboer)
Date: 8 Apr 05 08:25:23 GMT

Hi Merijn,

> Modified:
>    trunk/koala-compiler/ChangeLog
>    trunk/koala-compiler/frontend/parse-koala.str
> Log:
> * frontend/koala-parser.str: parse results are cached whenever possible. If
>   parsing file 'f' succeeds, the result is stored in file 'f.af'. If parser
>   doesn't have read/write access, caching is disabled.

Maybe you'll find this useful:
https://svn.cs.uu.nl:12443/repos/StrategoXT/dryad/trunk/lib/dryad/lib-ext/xtc/cache.str

It stored caches based on a hash of the tool, arguments, and input file. 
It's not rock solid of course (it cannot handle updates of the tool or 
its dependencies), but it works a bit better then the old .af (and maybe 
even .rtree) solution.

Cheers,
-- 
Martin Bravenboer
---------------------------------------------------------------------
Center for Software Technology
Institute of Information and Computing Sciences
Utrecht University
_______________________________________________
stratego-dev mailing list
[email-masked]
https://mail.cs.uu.nl/mailman/listinfo/stratego-dev