Commit Graph

  • 568134a7e9 Add getter functions to Location Sasha Koshka 2022-08-18 00:42:47 -0400
  • 57f02ad6f6 Added getter functions to Error Sasha Koshka 2022-08-18 00:39:08 -0400
  • dd8bbf8b13 Lexer now uses go's strconv number parsing functions Sasha Koshka 2022-08-18 00:31:27 -0400
  • ac85c2c725 Remove line break at top of readme Sasha Koshka 2022-08-17 21:48:06 -0400
  • 9b62a9b9ed Added logo to README Sasha Koshka 2022-08-17 20:16:48 -0400
  • 63110d9a32 Removed bad spacing in ObjectInitializationValues.ToString Sasha Koshka 2022-08-17 19:40:16 -0400
  • 6a5851c9eb Parser tests now show exact line and column where data is mismatched Sasha Koshka 2022-08-17 19:36:33 -0400
  • e069569c3c Merge pull request 'data-section' (#3) from data-section into main Sasha Koshka 2022-08-17 18:21:19 +0000
  • d78f150336 Removed data test case initializing pointers with phrases #3 Sasha Koshka 2022-08-17 14:16:54 -0400
  • e5b92009f0 Re-arranged data parsing test case to be alphabetical Sasha Koshka 2022-08-17 13:53:08 -0400
  • 98fb4e9c66 In ToString methods, maps are sorted alphabetically before output Sasha Koshka 2022-08-17 13:50:33 -0400
  • aee90757e3 Object initialization value parsing is now done recursively Sasha Koshka 2022-08-17 13:26:18 -0400
  • 31bb36a4f7 Reworked parsing object initialization values Sasha Koshka 2022-08-17 12:53:35 -0400
  • 384de58d41 Added previousToken method to parser Sasha Koshka 2022-08-17 12:39:26 -0400
  • 8c03aa880b Reworked array initialization value parsing Sasha Koshka 2022-08-17 11:30:17 -0400
  • 7bb6582e01 Added default nil argument kind Sasha Koshka 2022-08-17 01:07:12 -0400
  • 0ad1c0b2f4 Fixed extraneous newlines after complex initialization values Sasha Koshka 2022-08-17 01:04:52 -0400
  • 9ca1be2204 Fixed array initialization value parsing Sasha Koshka 2022-08-17 00:55:53 -0400
  • 0dd9368393 Reworked data section so it stores single initialization argument Sasha Koshka 2022-08-17 00:49:49 -0400
  • bd42c95de0 Parser can now sort of parse object member initialization values Sasha Koshka 2022-08-17 00:14:55 -0400
  • bd456b72e9 Argument.ToString can now recover on nil interface value Sasha Koshka 2022-08-17 00:13:14 -0400
  • eb3fb65c9b Changed object initialization values to be a map Sasha Koshka 2022-08-16 23:45:25 -0400
  • bb2948d397 Added parsing array initialization values Sasha Koshka 2022-08-16 21:31:23 -0400
  • 210e527b3a parseType method now understands arrays with undefined length Sasha Koshka 2022-08-16 20:55:43 -0400
  • 97cb6e54eb Type.ToString now understands array lengths Sasha Koshka 2022-08-16 20:53:27 -0400
  • 3407aa7c59 Fixed lexing digraph tokens Sasha Koshka 2022-08-16 20:26:06 -0400
  • 9e01eef45b Added elipsis token Sasha Koshka 2022-08-16 20:24:27 -0400
  • efb3bbe21b Added base for parsing initialization values Sasha Koshka 2022-08-16 20:10:47 -0400
  • c172c111d8 Rethought how object and array literals will work Sasha Koshka 2022-08-16 17:45:31 -0400
  • 16bca57e36 Fixed numerous problems related to type parsing Sasha Koshka 2022-08-16 17:21:10 -0400
  • 5e2d8c9955 Parser can now ToString data sections properly Sasha Koshka 2022-08-16 16:37:20 -0400
  • 5c23c59c92 Added parsing primitive arguments Sasha Koshka 2022-08-16 16:27:52 -0400
  • 0025d03a18 Modified parser data test to have uninitialized pointer cases Sasha Koshka 2022-08-16 16:16:39 -0400
  • 45bc798d19 Added identifier and declaration parsing Sasha Koshka 2022-08-16 15:53:32 -0400
  • 9cb2f68581 Argument kind is now called .kind instead of .what Sasha Koshka 2022-08-16 15:50:34 -0400
  • 4dfb327558 Add subscript and dereference argument kinds Sasha Koshka 2022-08-16 13:43:36 -0400
  • f978621673 Parse basic information about data sections (name, type) Sasha Koshka 2022-08-16 10:44:02 -0400
  • ac40fa96e5 Improved parser test Sasha Koshka 2022-08-16 01:55:22 -0400
  • 85b7938843 ParseBody now has a loop, and errors on unrecognized section type Sasha Koshka 2022-08-15 21:20:13 -0400
  • d081f363b1 Add guideline I forgot to add earlier Sasha Koshka 2022-08-15 17:21:34 -0400
  • e42bad5810 Identifiers can no longer have arguments in them Sasha Koshka 2022-08-15 17:05:57 -0400
  • 614b5664fc Parser calls ParseDataSection Sasha Koshka 2022-08-15 15:09:07 -0400
  • 8b28fe5a4c Added a comma token Sasha Koshka 2022-08-15 14:50:09 -0400
  • 608162fa92 Fixed bug in number lexing function that prevented reading zero Sasha Koshka 2022-08-15 14:42:32 -0400
  • d27c0ff07c Added single digit zero and eight to lexer number test Sasha Koshka 2022-08-15 14:32:59 -0400
  • 7fc51c278f Fixed issue with Error.Error not positioning marker correctly Sasha Koshka 2022-08-15 14:30:54 -0400
  • 3a3c588023 Added data test Sasha Koshka 2022-08-15 14:23:53 -0400
  • 00bcfaab0b Parser tests now work by checking the ToString() of the parsed tree Sasha Koshka 2022-08-15 14:17:29 -0400
  • d91423863b Added ToString methods for syntax tree nodes Sasha Koshka 2022-08-15 14:04:57 -0400
  • b02ff6cda6 Created structs needed to represent a data section Sasha Koshka 2022-08-15 01:47:42 -0400
  • 0a067524ce Added base parse body function Sasha Koshka 2022-08-14 22:38:57 -0400
  • 8f42fa9c2a Add some more guidelines to readme sashakoshka 2022-08-12 20:32:58 -0400
  • 714aca5196 Fix parseMeta not getting enough tokens Sasha Koshka 2022-08-12 17:12:38 -0500
  • 033e64fc54 Parser can now print out a list of expected token kinds Sasha Koshka 2022-08-12 17:09:37 -0500
  • b3071d4ac9 Token kind values can now be described Sasha Koshka 2022-08-12 16:30:32 -0500
  • f23c3a234a Added metadata parser Sasha Koshka 2022-08-12 16:22:51 -0500
  • 856d5763d3 Lexer tokens are now created by the lexer Sasha Koshka 2022-08-12 14:34:07 -0500
  • accf528869 Locations and tokens are now capable of creating errors on their own Sasha Koshka 2022-08-12 13:51:38 -0500
  • 7914f0df45 Location now stores width instead of Error Sasha Koshka 2022-08-12 13:43:09 -0500
  • 050c956787 Added expect and nextToken methods to parser Sasha Koshka 2022-08-12 13:33:21 -0500
  • 18bd681082 Parser now understands the separation between files Sasha Koshka 2022-08-12 12:02:20 -0500
  • 2019c67bbb Created basic test for parser Sasha Koshka 2022-08-12 11:55:17 -0500
  • f4f19a809a Lexer now eats :arf symbol at file beginning Sasha Koshka 2022-08-12 10:38:23 -0500
  • c09c9860b8 Parser tests are now arf files Sasha Koshka 2022-08-12 10:26:16 -0500
  • 81b47f7734 Replaced all occurences of github.com with git.tebibyte.media Sasha Koshka 2022-08-12 10:21:36 -0500
  • 09170e390d Created base for parser Sasha Koshka 2022-08-12 10:11:43 -0500
  • 5a55c9ac87 Check off lexer in readme Sasha Koshka 2022-08-11 18:37:00 -0500
  • 31a2d84483 Removed erroneous indentation from indent test file Sasha Koshka 2022-08-11 18:34:02 -0500
  • 2a7111e700 Colored error line/column numbers as well Sasha Koshka 2022-08-11 13:16:59 -0500
  • dfa64f3c3d Added color to errors Sasha Koshka 2022-08-11 13:15:57 -0500
  • ee9fa3a766 Indentation tokens now carry their indentation level Sasha Koshka 2022-08-11 12:53:20 -0500
  • 471eb863f4 Created indent test Sasha Koshka 2022-08-11 12:47:50 -0500
  • 71157122d6 Added support for hex, octal, and unicode escape sequences Sasha Koshka 2022-08-11 12:39:49 -0500
  • f7a823687e Added new test for string and rune literals (which it passes) Sasha Koshka 2022-08-11 12:12:41 -0500
  • 4f37715a8c Hexidecimal numbers are now properly read Sasha Koshka 2022-08-11 04:25:56 -0500
  • 7a0ed247e2 Added number lexing unit test Sasha Koshka 2022-08-11 04:23:06 -0500
  • 6acc11d046 Removed debug rune printing th Sasha Koshka 2022-08-11 04:19:39 -0500
  • 92c3e41810 Merge pull request 'pass-test-tokenize-all' (#1) from pass-test-tokenize-all into main Sasha Koshka 2022-08-11 09:07:36 +0000
  • a0d5b3a1a2 Added basic escape sequences to string parser #1 Sasha Koshka 2022-08-11 04:05:55 -0500
  • 4d73fa4b83 Fixed equality issue with int Sasha Koshka 2022-08-11 03:58:45 -0500
  • bef5b0328e Fixed PermissionFrom() Sasha Koshka 2022-08-11 03:52:16 -0500
  • af6f170833 Normalized whitespace tokens Sasha Koshka 2022-08-11 03:47:42 -0500
  • 0a31ea7bf8 Support for digraphs such as &&, <<, ++ Sasha Koshka 2022-08-11 02:54:20 -0500
  • 758b85e735 Added naieve string and char literal parsing Sasha Koshka 2022-08-11 02:47:51 -0500
  • 3768e3454f Added float support Sasha Koshka 2022-08-11 02:17:35 -0500
  • 40ad569870 Collapsed all number tokenization functions into just one Sasha Koshka 2022-08-11 02:03:54 -0500
  • 9e4684dbed Number tokenizing functions use one digit conversion functions Sasha Koshka 2022-08-11 01:57:04 -0500
  • 8813928b68 Negative numbers are now supported Sasha Koshka 2022-08-11 01:10:34 -0500
  • 0f603e3bf7 I am an idiot Sasha Koshka 2022-08-11 01:00:57 -0500
  • 7a45224449 Reduced code du0plicaion with number lexing functions Sasha Koshka 2022-08-11 00:57:04 -0500
  • 3d610df44e Added support for decimal and octal numbers Sasha Koshka 2022-08-11 00:21:04 -0500
  • 8f38203684 Added support for binary literals Sasha Koshka 2022-08-11 00:17:22 -0500
  • 77f3c590c6 Added lexing hexidecimal numbers Sasha Koshka 2022-08-11 00:14:41 -0500
  • 040e14d27c Test now prints out list of tokens Sasha Koshka 2022-08-10 15:02:08 -0400
  • 2220b95cd2 Name and permission tokens are now supported Sasha Koshka 2022-08-10 14:55:26 -0400
  • 9c1baf8216 Lexer can now tokenize minus decrement return direction separator Sasha Koshka 2022-08-10 14:18:28 -0400
  • d43a2540cf Fixed error formatting column indicator Sasha Koshka 2022-08-10 14:08:04 -0400
  • 314c045e65 Lexer no longer hangs when encountering letters Sasha Koshka 2022-08-10 13:59:09 -0400
  • 9f8b48161a Lexer unit test now prints out resulting error Sasha Koshka 2022-08-10 13:03:48 -0400
  • cf04dfd600 Lexer unit test now works properly Sasha Koshka 2022-08-10 12:58:47 -0400