Commit Graph

21 Commits

Author SHA1 Message Date
Havoc Pennington
64c6c753e5 use internal AbstractConfigValue instead of public ConfigValue throughout implementation
In practice don't want to try to support custom ConfigValue.
2011-11-08 22:03:22 -05:00
Havoc Pennington
e11f117200 make ConfigTransformer private, don't think it's useful 2011-11-08 21:37:19 -05:00
Havoc Pennington
619ce047c2 fix the memory size and duration parsers
Switching to Java from Scala it's easy to get confused...
2011-11-08 21:36:49 -05:00
Havoc Pennington
c7c8c2ff14 Implement substitution in parser and config objects 2011-11-08 17:02:00 -05:00
Havoc Pennington
42b355deb1 Implement ${} substitutions in the tokenizer 2011-11-08 10:15:31 -05:00
Havoc Pennington
258449a051 use appendCodePoint(c) not append((char)c) 2011-11-08 09:19:34 -05:00
Havoc Pennington
9b2a96aef4 Make unquoted string values really work 2011-11-08 09:17:23 -05:00
Havoc Pennington
e3e1d7392d convenience functions to write tokens with fake origin in tests 2011-11-08 09:04:30 -05:00
Havoc Pennington
01cc2c755c Add support for unquoted string values 2011-11-07 23:02:38 -05:00
Havoc Pennington
fda3f7eead move tokenizer tests into their own file 2011-11-07 19:16:26 -05:00
Havoc Pennington
ff5bf095c7 add a test setup where files that should be parsed to same syntax tree are compared 2011-11-07 16:54:14 -05:00
Havoc Pennington
986e2a24cb add SyntaxFlavor to the parser (not used for anything yet) 2011-11-07 16:07:16 -05:00
Havoc Pennington
5a5eb7acfe sync specs with the gist versions 2011-11-07 15:49:10 -05:00
Havoc Pennington
dc99fa3f1d add sbt build definition 2011-11-07 15:31:23 -05:00
Havoc Pennington
45b8c4074f add a bunch of JSON parser tests 2011-11-07 15:30:47 -05:00
Havoc Pennington
f47a73ce28 rename ConfigFactory to ConfigImpl 2011-11-07 12:26:20 -05:00
Havoc Pennington
8f22d6e7ab move src/ to src/main/java 2011-11-07 12:25:08 -05:00
Havoc Pennington
e53a7d6294 more typing and hacking; add json parser 2011-11-07 12:24:05 -05:00
Havoc Pennington
f5edf529a5 more hacking, mostly on json tokenizer 2011-11-06 23:14:42 -05:00
Havoc Pennington
6b54720ddd more work 2011-11-06 15:30:04 -05:00
Havoc Pennington
9ca157d34a WIP initial sketch 2011-11-05 16:45:25 -04:00