From 4c10c31be339ef3082f142061d83149af2a30ec8 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Wed, 10 Jan 2018 21:58:38 +0300 Subject: D: start documenting stuff --- docs/validation.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 docs/validation.md (limited to 'docs/validation.md') diff --git a/docs/validation.md b/docs/validation.md new file mode 100644 index 000000000..2739bfcdd --- /dev/null +++ b/docs/validation.md @@ -0,0 +1,14 @@ +Fixmes: + +Lexer: +* Fix `is_whitespace`, add more tests +* Add more thorough tests for idents for XID_Start & XID_Continue +* Validate that float and integer literals use digits only of the appropriate + base, and are in range +* Validation for unclosed char literal +* Strings are completely wrong: more tests and comparison with libsyntax. +* Comment lexing is completely wrong + +Parser: +* Figure out what is the expected state of attribute grammar. + Token trees or something more structured? Token trees would be unfortunate: no extend selection =/ \ No newline at end of file -- cgit v1.2.3