River Tarnell
5e073fa2be
move include files to include/
2008-08-13 17:40:09 +00:00
River Tarnell
6ba4846e05
need type_name here too
2008-08-13 17:16:22 +00:00
River Tarnell
0834126abc
provide nicer type names in error messages
2008-08-13 16:42:18 +00:00
River Tarnell
4f6c4d886e
- parser: support singular for time units as well as plural
...
- visitors: remove commented code
2008-08-12 12:17:56 +00:00
River Tarnell
d4d3f27224
rewrote most of visitors.h, and split functors into functors.h. this implementation uses a metaprogram to determine valid operators at compile time, instead of requiring every exception to be specified seperately.
2008-08-12 12:11:31 +00:00
River Tarnell
4a4e3166cd
initial support for dates and intervals
2008-08-11 22:09:34 +00:00
River Tarnell
41afd40801
change from double/float to GMP arbitrary precision types. as well as increased range, this means '1.3 + 20' no longer evaluates to '21.300000000000001'
2008-08-11 01:01:05 +00:00
River Tarnell
bbf1737cc2
- convert parser to AST. while this is slower than the previous implementation, it's clearer, and more correct (lazy evaluation is supported)
...
- to compensate for the slower parser, optimised it a little
- change basic_string to fray, a refcounted immutable string
- add 'xml' tool, prints the parser tree in XML
2008-08-10 03:52:17 +00:00
River Tarnell
5037acbd0d
Unicode conversion: full Unicode support for parser, and 'expr' tool
...
add UTF-8/UTF-32 conversion functions for input/output
2008-08-09 16:18:04 +00:00
River Tarnell
eb5586854e
Unicode conversion, phase1: datum should be templated on char type.
...
added basic_datum<charT>, with typedefs datum and u32datum
2008-08-09 13:37:58 +00:00