218 Commits (main)
 

Author SHA1 Message Date
Sasha Koshka d78f150336 Removed data test case initializing pointers with phrases
6 months ago
Sasha Koshka e5b92009f0 Re-arranged data parsing test case to be alphabetical
6 months ago
Sasha Koshka 98fb4e9c66 In ToString methods, maps are sorted alphabetically before output
6 months ago
Sasha Koshka aee90757e3 Object initialization value parsing is now done recursively
6 months ago
Sasha Koshka 31bb36a4f7 Reworked parsing object initialization values
6 months ago
Sasha Koshka 384de58d41 Added previousToken method to parser
6 months ago
Sasha Koshka 8c03aa880b Reworked array initialization value parsing
6 months ago
Sasha Koshka 7bb6582e01 Added default nil argument kind
6 months ago
Sasha Koshka 0ad1c0b2f4 Fixed extraneous newlines after complex initialization values
6 months ago
Sasha Koshka 9ca1be2204 Fixed array initialization value parsing
6 months ago
Sasha Koshka 0dd9368393 Reworked data section so it stores single initialization argument
6 months ago
Sasha Koshka bd42c95de0 Parser can now sort of parse object member initialization values
6 months ago
Sasha Koshka bd456b72e9 Argument.ToString can now recover on nil interface value
6 months ago
Sasha Koshka eb3fb65c9b Changed object initialization values to be a map
6 months ago
Sasha Koshka bb2948d397 Added parsing array initialization values
6 months ago
Sasha Koshka 210e527b3a parseType method now understands arrays with undefined length
6 months ago
Sasha Koshka 97cb6e54eb Type.ToString now understands array lengths
6 months ago
Sasha Koshka 3407aa7c59 Fixed lexing digraph tokens
6 months ago
Sasha Koshka 9e01eef45b Added elipsis token
6 months ago
Sasha Koshka efb3bbe21b Added base for parsing initialization values
6 months ago
Sasha Koshka c172c111d8 Rethought how object and array literals will work
6 months ago
Sasha Koshka 16bca57e36 Fixed numerous problems related to type parsing
6 months ago
Sasha Koshka 5e2d8c9955 Parser can now ToString data sections properly
6 months ago
Sasha Koshka 5c23c59c92 Added parsing primitive arguments
6 months ago
Sasha Koshka 0025d03a18 Modified parser data test to have uninitialized pointer cases
6 months ago
Sasha Koshka 45bc798d19 Added identifier and declaration parsing
6 months ago
Sasha Koshka 9cb2f68581 Argument kind is now called .kind instead of .what
6 months ago
Sasha Koshka 4dfb327558 Add subscript and dereference argument kinds
6 months ago
Sasha Koshka f978621673 Parse basic information about data sections (name, type)
6 months ago
Sasha Koshka ac40fa96e5 Improved parser test
6 months ago
Sasha Koshka 85b7938843 ParseBody now has a loop, and errors on unrecognized section type
6 months ago
Sasha Koshka d081f363b1 Add guideline I forgot to add earlier
6 months ago
Sasha Koshka e42bad5810 Identifiers can no longer have arguments in them
6 months ago
Sasha Koshka 614b5664fc Parser calls ParseDataSection
6 months ago
Sasha Koshka 8b28fe5a4c Added a comma token
6 months ago
Sasha Koshka 608162fa92 Fixed bug in number lexing function that prevented reading zero
6 months ago
Sasha Koshka d27c0ff07c Added single digit zero and eight to lexer number test
6 months ago
Sasha Koshka 7fc51c278f Fixed issue with Error.Error not positioning marker correctly
6 months ago
Sasha Koshka 3a3c588023 Added data test
6 months ago
Sasha Koshka 00bcfaab0b Parser tests now work by checking the ToString() of the parsed tree
6 months ago
Sasha Koshka d91423863b Added ToString methods for syntax tree nodes
6 months ago
Sasha Koshka b02ff6cda6 Created structs needed to represent a data section
6 months ago
Sasha Koshka 0a067524ce Added base parse body function
6 months ago
sashakoshka 8f42fa9c2a Add some more guidelines to readme
6 months ago
Sasha Koshka 714aca5196 Fix parseMeta not getting enough tokens
6 months ago
Sasha Koshka 033e64fc54 Parser can now print out a list of expected token kinds
6 months ago
Sasha Koshka b3071d4ac9 Token kind values can now be described
6 months ago
Sasha Koshka f23c3a234a Added metadata parser
6 months ago
Sasha Koshka 856d5763d3 Lexer tokens are now created by the lexer
6 months ago
Sasha Koshka accf528869 Locations and tokens are now capable of creating errors on their own
6 months ago