Commit graph

517 commits

Author SHA1 Message Date
Ferdinand Majerech 44885cde4e Optimized fetchToken() 2014-08-04 02:26:14 +02:00
Ferdinand Majerech 7360e85a3a More FastCharSearch based on profiling results. 2014-08-04 02:24:26 +02:00
Ferdinand Majerech 5a1e6e994d Fixed a nasty rare bug caused by an assumption that 32 chars take 32 bytes. 2014-08-04 02:23:08 +02:00
Ferdinand Majerech 20048ea995 Using peekByte() in heavily used Scanner methods. 2014-08-04 02:22:09 +02:00
Ferdinand Majerech 8e63f62d7e An optimized version of peek() that reads a byte, without decoding. 2014-08-04 02:20:13 +02:00
Ferdinand Majerech a4befdd866 An optimized version of Reader.peek() with index == 0. 2014-08-04 02:19:34 +02:00
Ferdinand Majerech 063d9754d7 Queue now uses a freelist to minimize allocations. 2014-08-04 02:16:34 +02:00
Ferdinand Majerech 1f55fccc26 Updated yaml_bench to benchmark parsing, not Loader construction. 2014-08-04 02:14:37 +02:00
Ferdinand Majerech 97e717df1b Loader creates Constructor/Resolver lazily to avoid garbage when user-provided 2014-08-04 02:14:01 +02:00
Ferdinand Majerech 46a574c0b4 Fixed a typo. 2014-08-04 02:13:06 +02:00
Ferdinand Majerech 760e39479e yaml_gen now gens strings with user-specified alphabet, with Unicode support. 2014-08-02 23:29:55 +02:00
Ferdinand Majerech af4245811a yaml_gen optimization. 2014-08-02 23:28:45 +02:00
Ferdinand Majerech 85b89d3323 yaml_gen should no longer generate maps/omaps with duplicate keys. 2014-08-02 23:28:33 +02:00
Ferdinand Majerech 0d89c2beb1 yaml_bench Scanner benchmark, and files are not realoaded from HDD by default. 2014-08-02 23:27:44 +02:00
Ferdinand Majerech 6aa50b8898 A benchmark Loader method that scans a file but throws away the tokens. 2014-08-02 23:26:46 +02:00
Ferdinand Majerech c160156346 Fixed the string->char[] Token value move. 2014-08-02 23:25:56 +02:00
Ferdinand Majerech aeee0758a7 Refactored FastCharSearch with more modern string mixin code. 2014-08-02 02:35:03 +02:00
Ferdinand Majerech d32addacda Slices now nonconst in all layers up to Parser, where they get cast to string. 2014-08-02 01:58:20 +02:00
Ferdinand Majerech 7b699c5903 UTF-8 validation now uses UTF-8 decoding code. 2014-08-02 01:37:16 +02:00
Ferdinand Majerech b5da695d6b More @nogc in Scanner. 2014-08-02 01:19:29 +02:00
Ferdinand Majerech e6fdade4a6 Scanner now uses @nogc UTF decoding. 2014-08-02 01:16:29 +02:00
Ferdinand Majerech e1209711af UTF-8 decoding now has versions for validated and unvalidated strings. 2014-08-02 01:15:57 +02:00
Ferdinand Majerech 5932155435 Style. 2014-08-02 01:15:22 +02:00
Ferdinand Majerech a9c633e982 Removed CDC, as it's been fully replaced by dub. 2014-08-01 23:02:01 +02:00
Ferdinand Majerech fad280060e Better Constructor docs. 2014-08-01 23:01:34 +02:00
Ferdinand Majerech f137db438e Better Constructor funct attribs. 2014-08-01 23:01:24 +02:00
Ferdinand Majerech a23cc9be5c unittest.d builds itself with correct dub buildtype/conf if built incorrectly. 2014-08-01 20:12:49 +02:00
Ferdinand Majerech db1f1fb4cd Added (ugly...) unittest build types; build config can't override build types. 2014-08-01 20:11:19 +02:00
Ferdinand Majerech ddd0b97a54 Added a unittest build config. 2014-08-01 20:10:29 +02:00
Ferdinand Majerech d4359f6394 Ported build types from CDC to dub. 2014-08-01 20:10:03 +02:00
Ferdinand Majerech a4b92ac5d0 Removed binary the shouldn't have been comittes. 2014-08-01 20:08:56 +02:00
Ferdinand Majerech 41d80096ae Regenerated docs. 2014-08-01 17:09:38 +02:00
Ferdinand Majerech 6ccda33467 Minor fixes in examples and the 'custom types' tutorial. 2014-08-01 17:09:05 +02:00
Ferdinand Majerech 278b60e896 Updated 'Getting Started' with dub info. 2014-08-01 17:07:08 +02:00
Ferdinand Majerech e02bd73096 .gitignore update. 2014-08-01 17:06:32 +02:00
Ferdinand Majerech 0dbe638296 Examples now use dub instead of Makefiles. 2014-08-01 17:06:23 +02:00
Ferdinand Majerech 264b8b9d1e .gitignore update. 2014-08-01 17:04:51 +02:00
Ferdinand Majerech 3dfe0f9400 Updated dub package.json. 2014-08-01 17:04:41 +02:00
Ferdinand Majerech 3b058c234f Regenerated docs. 2014-08-01 03:00:40 +02:00
Ferdinand Majerech 66679a601c Moved tinyendian.d out of the dyaml directory. 2014-08-01 02:56:37 +02:00
Ferdinand Majerech a9fb68f340 Removed internals from DDoc. 2014-08-01 02:52:14 +02:00
Ferdinand Majerech 0f017646fc Reverted doc style due to DDoc issues. 2014-08-01 02:51:35 +02:00
Ferdinand Majerech fdf4cecddb Backported a recent std.utf script. 2014-08-01 02:47:52 +02:00
Ferdinand Majerech 6317654d06 Updated DUB package copyright line. 2014-08-01 02:47:11 +02:00
Ferdinand Majerech 859ebd86d7 Updated API doc main page. 2014-08-01 02:46:45 +02:00
Ferdinand Majerech a4b4a42c55 Updated tutorials. 2014-08-01 02:46:32 +02:00
Ferdinand Majerech ca100e5a30 Updated doc generation config. 2014-08-01 02:46:02 +02:00
Ferdinand Majerech aa97d9cc6a Updated README. 2014-08-01 02:45:34 +02:00
Ferdinand Majerech 564dfdae80 Updated changelog, now in ReStructuredText. 2014-08-01 02:44:31 +02:00
Ferdinand Majerech 830aef8df5 Simpler grepping for 'std.stream' 2014-07-31 14:53:14 +02:00