Commit Graph
165 Commits
Author SHA1 Message Date
ari 3d39bd575f converted parser to functional
fixed a bufsize issue on the lexer
2020-10-27 09:46:51 -04:00
ari 087c1c2fe9 using a more functional approach for lexer 2020-10-26 17:55:55 -04:00
ari e2a92517cd working xref db 2020-10-23 22:17:50 -04:00
ari cfc2dfca47 cleaned up parser class 2020-10-21 17:52:46 -04:00
ari 754e248aac removed oldpdfmajor and ran linters 2020-10-21 17:48:14 -04:00
ari b1edcbe51d added reverse line reader 2020-10-21 17:02:53 -04:00
ari 37e567a352 added stream parsing 2020-10-21 16:32:18 -04:00
ari 39501b174b correct test port 2020-10-20 20:20:33 -04:00
ari cb7219a152 better error naming 2020-10-20 19:42:37 -04:00
ari f587a4389f - reorginized repo 2020-10-20 19:37:14 -04:00
ari 4d1e0f2389 - removed old tests
- ported all custom filters and using python std implemetation for ascii and bin filters
2020-10-20 19:24:15 -04:00
ari 5fd03d1250 added more metadata for streams 2020-10-19 20:15:13 -04:00
ari 77b3754ff4 initial support for streams 2020-10-19 20:11:21 -04:00
ari 07244aaf11 new attempt for parser
- now support clear indirect objects
2020-10-19 15:00:31 -04:00
ari b802f782fa more docs 2020-10-18 13:19:17 -04:00
ari 6e7c1f3888 ensuring comments do not break parsing 2020-10-18 13:17:07 -04:00
ari cc0f802a10 l1 emits TokenKeyword
removed need to Object Keyword which made no sense to have
2020-10-18 13:01:09 -04:00
ari 43ed8b4019 working prototype for l2 2020-10-18 11:48:19 -04:00
ari c7d618284b got rid of the parse context in favour of a contextual trait 2020-10-17 23:53:43 -04:00
ari 3fec7a1747 undoing lexing of obj and stream 2020-10-17 23:45:31 -04:00
ari 3a5f8f44a3 added indirect Objects and stream tokens 2020-10-17 22:52:33 -04:00
ari adf04aa50c docs 2020-10-17 22:24:58 -04:00
ari 0f147bb66a added another complex testcase for parsing 2020-10-17 22:24:14 -04:00
ari 4f8bcf1fff - using a common generic type for PDFObject as oppose to Union (needed a common data contract)
- parsing arrays
2020-10-17 22:11:51 -04:00
ari 6d9a57c722 clean up 2020-10-17 21:50:47 -04:00
ari 039f06c396 PDFName is just a fancy str 2020-10-17 21:50:32 -04:00
ari 71a37477ae added name wrapper 2020-10-17 21:48:34 -04:00
ari 01ace1c57d succesful dictionary parsing 2020-10-17 21:41:33 -04:00
ari 7ee8254edb more docs 2020-10-17 20:17:47 -04:00
ari 4e1f45e205 added Null token 2020-10-17 20:14:03 -04:00
ari da936e6a48 renamed decimal to real 2020-10-17 18:13:10 -04:00
ari 472942867b complete lexer 2020-10-17 17:31:11 -04:00
ari 24b9c99ea1 adjusted tests for streambuffer 2020-10-17 15:56:26 -04:00
ari fa9e936f4a renamed safebufiterator to streambuffer 2020-10-17 15:55:23 -04:00
ari a03857d0f7 - clean up
- renamed safebuf to streambuf
- added arrays
2020-10-17 15:54:39 -04:00
ari c752346638 moved num parsing 2020-10-16 17:07:40 -04:00
ari 0eb5e4b8fc implement dd bracket 2020-10-16 16:55:54 -04:00
ari 370a1b40a1 moved string parsing to new method 2020-10-16 16:31:02 -04:00
ari faaf7925bf using new approach for lexing 2020-10-16 16:10:10 -04:00
ari a2d2b7808d added literal parsing to main tokenizer 2020-10-15 09:37:30 -04:00
ari 1acd59c008 correct literal parsing 2020-10-15 09:37:06 -04:00
ari 052a3a071e added docs to tokens with references to spec 2020-10-14 22:22:21 -04:00
ari 81c664ae86 docs 2020-10-14 22:03:36 -04:00
ari 28110c9a0e number tests pass 2020-10-14 21:56:33 -04:00
ari af927e86ec string tokenizer works 2020-10-14 21:53:27 -04:00
ari 4a6b0608a0 strict hex format 2020-10-14 21:29:46 -04:00
ari 5f19f71c4d fixed up literal parsing in global tokenizer 2020-10-14 11:03:01 -04:00
ari 96d68cdf68 added string tokenizer 2020-10-14 08:32:34 -04:00
ari d8be2885b8 generalized form buf iteration 2020-10-13 21:35:17 -04:00
ari be2778bffc fixed bandit issus 2020-10-13 21:21:09 -04:00