74 Commits

Author SHA1 Message Date
f65baccd86 Use LINQ to simplify tests 2019-02-11 20:36:42 +01:00
4eac2cd9fc Use nullable reference types in the test project 2018-12-26 12:47:59 +01:00
198042fabc Use nullable reference types in Parser 2018-12-22 22:04:45 +01:00
c361b8e004 Implement Position for red nodes and tokens 2018-12-17 19:58:44 +01:00
accc18c897 Implement FullWidth 2018-12-16 14:49:14 +01:00
6e61b4c768 Assign GreenNode.Slots outside of constructor 2018-12-16 12:39:13 +01:00
6bc04ad659 Add diagnostics to parser 2018-12-10 21:04:42 +01:00
4b6ee62f07 Fix parsing of expression statements 2018-12-08 13:47:29 +01:00
e38cdd8b36 Add REPL 2018-12-08 10:46:49 +01:00
a55a5bd575 Align target frameworks 2018-12-08 10:32:17 +01:00
5eb63a00e0 Rename TokenKinds for consistency 2018-11-19 21:42:20 +01:00
1c37559d9e Add tests for pairs of tokens with separators 2018-11-07 14:02:50 +01:00
13051a2259 Add tests for pairs of tokens 2018-11-07 12:43:59 +01:00
40d1d55cbd Convert round-trip test to a theory 2018-11-07 10:27:54 +01:00
4a15e9dd72 Use SyntaxFacts to generate tokens for tests 2018-11-07 10:13:58 +01:00
0f06f09187 Add lexer tests 2018-10-25 19:56:37 +02:00
27a7cf7fd4 Use XUnit instead of NUnit 2018-10-25 19:15:02 +02:00
9490864ef3 More diagnostics for the lexer 2018-10-18 18:48:08 +02:00
989f368a28 Fix test 2018-10-18 18:16:57 +02:00
cdbb0ffb72 Add diagnostics 2018-10-17 20:08:16 +02:00
d928c262fa Add license 2018-10-07 11:47:56 +02:00
e15dcf572e Add some comments 2018-10-07 11:40:12 +02:00
468d585d08 Add README 2018-10-07 11:40:06 +02:00
d2d631ac6c Add tree renderer 2018-10-06 19:37:37 +02:00
64d06ec02e Search for functions & classes in subpackages 2018-10-06 11:24:22 +02:00
d8e3f862eb Add "there and back again" test 2018-10-05 19:52:35 +02:00
fb4cb901f2 Merge parser & lexer 2018-10-05 19:14:43 +02:00
51a0cc863f Simplifying parsing optional semicolons/commas 2018-04-07 15:22:02 +02:00
5e7a4840b5 Move parent setting to constructor 2018-04-07 14:34:24 +02:00
fa3d137fbe Refactor array element list parsing 2018-04-07 13:49:40 +02:00
0ba85620a6 Refactor SyntaxNode parent setting 2018-04-07 13:44:57 +02:00
e748f89fdf Refactor null checks 2018-04-07 13:37:53 +02:00
1bd8c0bb05 Function outputs list can be empty 2018-04-07 12:37:32 +02:00
a53a02fe0b Escape quotes in double-quoted string literals 2018-04-07 12:28:12 +02:00
35f261e74f Escape quotes in double-quoted string literals 2018-04-07 11:29:42 +02:00
e54c01a243 Parse multi-line comments 2018-04-07 11:19:51 +02:00
578d590bed Upgrade test NuGets 2018-04-07 11:19:41 +02:00
38da3ecf0b Check for parentheses match during lexing 2018-04-05 19:52:03 +02:00
ae90b27b41 Parse base class invokation expression 2018-04-05 19:04:09 +02:00
5e8a1a0abe Parse elseif 2018-04-05 17:58:33 +02:00
94c2d75ad8 Add "else" to the list of keywords for dealing with command syntax 2018-04-05 09:36:52 +02:00
3d31b2c04b Parse command-line syntax 2018-04-05 09:32:53 +02:00
215e0b52ed Lex unquoted string literals 2018-04-05 08:53:43 +02:00
4c2f37b000 Separate new lines trivia 2018-04-04 20:21:50 +02:00
b695f4961a Parse optional commas after switch case identifiers 2018-04-04 12:55:17 +02:00
4a2c6283c6 Parse try/catch statement 2018-04-04 12:25:25 +02:00
d78e5d671e Parse extra semicolons as empty statements 2018-04-04 12:11:50 +02:00
a2ef543292 Parse double-quoted string literals 2018-04-04 11:00:17 +02:00
db216671c3 Parse postfix dot-transpose 2018-04-04 10:55:54 +02:00
fbcba4edf2 Parse tilde in function input description 2018-04-04 10:44:44 +02:00