veromary / divinum-officium

Automatically exported from code.google.com/p/divinum-officium
0 stars 0 forks source link

Write parser and 'compiler' for calendar files #208

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
As part of the CalendarCalculation changes, a parser will need to be written, 
using &setupstring, for the calendar files. We might want to store the results 
of parsing in a serialised hash to speed things up at runtime. In this case the 
parser and 'compiler' would need to be run whenever we change the calendar 
files (automated by a Makefile?), but not when running any of the public CGI 
scripts: these would simply read in the serialised hashes.

Issue 207 is for the creation of the files themselves, but that needn't be 
completed first.

Original issue reported on code.google.com by igregord on 23 Feb 2013 at 12:12

GoogleCodeExporter commented 9 years ago
On the calcalc branch, there's a parser in web/cgi-bin/horas/caldata.pm. It's 
essentially complete. I will create another ticket for the 'compiler', which is 
really an orthogonal task, and will close this one.

Original comment by igregord on 22 Apr 2013 at 6:30