Commit Graph

  • 9a436c7eeb Remove logging in test Thomas Pelletier 2021-03-28 00:06:40 -04:00
  • 72c999ecbf Fix trailing commas in arrays Thomas Pelletier 2021-03-28 00:04:25 -04:00
  • e5a091a092 Don't depend on my computer path Thomas Pelletier 2021-03-27 23:43:24 -04:00
  • 317b36b24b Add back license Thomas Pelletier 2021-03-26 09:53:21 -04:00
  • 636a75f316 Import tomltestgen Thomas Pelletier 2021-03-26 09:51:35 -04:00
  • 390927a0cd Reuse AST storage between top-level expressions Thomas Pelletier 2021-03-25 22:37:16 -04:00
  • 3f23ab97e0 Revert os/go version to fit in github pop-up Thomas Pelletier 2021-03-25 21:16:31 -04:00
  • 47611ff9ea Shorter names for CI Thomas Pelletier 2021-03-25 21:14:59 -04:00
  • f4ac7f7bfa Multi OS testing Thomas Pelletier 2021-03-25 21:12:19 -04:00
  • e75f23188d Add v2-wip to codeql branches Thomas Pelletier 2021-03-25 21:08:03 -04:00
  • 6c8adbcb17 Remove azure pipeline Thomas Pelletier 2021-03-25 21:06:54 -04:00
  • ffc7d3ba6e Port codeql Thomas Pelletier 2021-03-25 21:06:34 -04:00
  • 4efec6b76a Add github actions workflow Thomas Pelletier 2021-03-25 21:05:07 -04:00
  • ce6fbd7bc0 Support literal multiline marshal (#485) v1.9.0 Thomas Pelletier 2021-03-25 20:57:38 -04:00
  • 0fcf06e374 Update todo Thomas Pelletier 2021-03-25 20:49:27 -04:00
  • 1d332cd112 Add documentation for the AST Thomas Pelletier 2021-03-25 20:46:31 -04:00
  • 9d3a912da0 Remove unused interface Thomas Pelletier 2021-03-25 20:38:45 -04:00
  • 1da2fc7e28 Minimal shared cache for struct field paths Thomas Pelletier 2021-03-25 20:19:58 -04:00
  • 17299c937b Update readme Thomas Pelletier 2021-03-25 19:56:40 -04:00
  • 1bae751a45 Linear array storage for AST Thomas Pelletier 2021-03-25 19:56:02 -04:00
  • 8a8d1233bb First benchmark! Thomas Pelletier 2021-03-24 22:15:12 -04:00
  • ad538d97c9 Delete reflectbuild Thomas Pelletier 2021-03-24 21:06:38 -04:00
  • 43fc2fa552 Factor pointer handling Thomas Pelletier 2021-03-24 21:05:44 -04:00
  • dd5837651d Support TextUnmarshaler Thomas Pelletier 2021-03-24 21:02:02 -04:00
  • a0d031abec Arrays support Thomas Pelletier 2021-03-24 20:21:55 -04:00
  • a25f636a07 Add array support todo Thomas Pelletier 2021-03-23 21:18:19 -04:00
  • a3b7e1e353 Fix table array into pointer to slice Thomas Pelletier 2021-03-23 21:14:54 -04:00
  • bfeb32c9ce Make unmarshal to interface{} consistent with encoding/json Thomas Pelletier 2021-03-23 20:03:45 -04:00
  • 0703eeb262 Fix bug parsing anonymous structs Thomas Pelletier 2021-03-23 18:01:14 -04:00
  • d458ddf4d4 Add TODO Thomas Pelletier 2021-03-23 09:45:12 -04:00
  • 4038ec3dae Overflow checks Thomas Pelletier 2021-03-23 09:44:03 -04:00
  • 5b92184e42 Cast map key type Thomas Pelletier 2021-03-23 09:20:28 -04:00
  • c6f117c45d Handle pointers in slices Thomas Pelletier 2021-03-23 09:15:48 -04:00
  • e78ccff9a4 Fix parsing integer 0 Thomas Pelletier 2021-03-23 09:02:48 -04:00
  • b8da9d1854 Fix datetime error checking Thomas Pelletier 2021-03-23 08:54:44 -04:00
  • e5d63aa8fc Add some type conversions Thomas Pelletier 2021-03-22 20:09:11 -04:00
  • ac2d6e2030 Handle unmarshalling value to nil ptr. Thomas Pelletier 2021-03-22 20:03:35 -04:00
  • fcc91f2618 Progress on date/times Thomas Pelletier 2021-03-22 09:59:15 -04:00
  • 8b34e54764 Improve DOT representation for AST Thomas Pelletier 2021-03-18 22:10:31 -04:00
  • ebffe6db83 Naive implementation of anonymous structs Thomas Pelletier 2021-03-18 21:11:51 -04:00
  • 9ec4e86883 Handle struct field name variations Thomas Pelletier 2021-03-18 20:42:41 -04:00
  • 93a7b0d77d Skip AST branches that don't exist in the target Thomas Pelletier 2021-03-18 20:30:51 -04:00
  • 3e8b8db786 Unmarshal into pointers Thomas Pelletier 2021-03-18 20:02:32 -04:00
  • 8957a768ef Next stop: pointers Thomas Pelletier 2021-03-18 19:52:11 -04:00
  • fad86a5f24 Test for sub-table in array table into structs Thomas Pelletier 2021-03-18 19:48:09 -04:00
  • 548b128e67 Fix multiple sub-table in array table Thomas Pelletier 2021-03-18 19:42:48 -04:00
  • a577df2dbb wip Thomas Pelletier 2021-03-18 17:19:50 -04:00
  • cb678e6221 Passing unmarshal of array table into interfaces Thomas Pelletier 2021-03-18 08:47:50 -04:00
  • 939f889666 wip: figuring out unmarshaling to interfaces Thomas Pelletier 2021-03-17 09:57:50 -04:00
  • f9f9ccb777 Basic array table implementation Thomas Pelletier 2021-03-16 10:24:19 -04:00
  • c6892fcf5a wip array table Thomas Pelletier 2021-03-15 19:35:48 -04:00
  • 844c9093a2 Add todo Thomas Pelletier 2021-03-15 09:50:01 -04:00
  • 37d06dabcf Unmarshal into maps Thomas Pelletier 2021-03-15 09:49:10 -04:00
  • 1718142ede More todos in README Thomas Pelletier 2021-03-15 09:04:54 -04:00
  • ad64e5d2e2 Update README for v2 work Thomas Pelletier 2021-03-15 08:53:16 -04:00
  • 00b2f776a9 Replace branch with AST version Thomas Pelletier 2021-03-15 08:46:35 -04:00
  • b8df31de84 Comment out date/time tests for now Thomas Pelletier 2021-03-14 18:13:57 -04:00
  • 16a336b4f3 Remove todos that don't make sense anymore Thomas Pelletier 2021-03-14 18:10:59 -04:00
  • 590d674153 Unmarshal ints and floats Thomas Pelletier 2021-03-14 18:06:34 -04:00
  • 9a1cfcdd8e Replace parser's int or float code with scanner Thomas Pelletier 2021-03-14 17:22:53 -04:00
  • 590d7faf65 Parser emits AST node for all kinds of strings Thomas Pelletier 2021-03-14 16:16:29 -04:00
  • de035f0fed Standard tables in parser Thomas Pelletier 2021-03-14 16:11:23 -04:00
  • 04925e4882 Handle bools Thomas Pelletier 2021-03-14 15:52:22 -04:00
  • 3760527218 Unmarshal tests Thomas Pelletier 2021-03-13 23:42:38 -05:00
  • fa7ee6461a Inline tables Thomas Pelletier 2021-03-13 23:06:16 -05:00
  • fbf01f7683 Handle Table Thomas Pelletier 2021-03-13 22:48:31 -05:00
  • a0548e793c Unmarshal slices of strings Thomas Pelletier 2021-03-13 22:07:36 -05:00
  • 1fafb71fd9 LF Thomas Pelletier 2021-03-13 18:51:45 -05:00
  • d8be04d4a8 Handle simple string slice Thomas Pelletier 2021-03-13 18:45:03 -05:00
  • 21d3e85fcc Playing with an AST Thomas Pelletier 2021-03-13 11:38:09 -05:00
  • b59c12a70d Remove go-spew dependency (#483) Sapphire Becker 2021-03-10 17:18:32 -08:00
  • 93a74fca35 todo: inline tables Thomas Pelletier 2021-03-08 21:59:43 -05:00
  • a1c9b661b4 Allocate slice if needed Thomas Pelletier 2021-03-08 21:41:03 -05:00
  • 87b9d1cf98 Handle overflows Thomas Pelletier 2021-03-08 21:01:53 -05:00
  • 90f3b658c6 Support type aliases Thomas Pelletier 2021-03-08 20:27:04 -05:00
  • c35bcc5519 Convert returns pointer if a pointer is passed Thomas Pelletier 2021-03-08 10:01:56 -05:00
  • f698c102c7 Convert should only handle specific types Thomas Pelletier 2021-03-08 09:42:19 -05:00
  • 6a307ac0d0 Update CI for Go 1.16 (#482) Thomas Pelletier 2021-03-04 09:58:18 -05:00
  • 2cee819ce4 Going back and forth on whether types should always be converted Thomas Pelletier 2021-03-02 10:37:17 -05:00
  • bf051f1718 Fixed some tests Thomas Pelletier 2021-03-01 20:50:18 -05:00
  • c77f1d815c Skip default tags tests Thomas Pelletier 2021-02-19 19:48:43 -05:00
  • d24deebee3 wip making reflection tests pass Thomas Pelletier 2021-02-19 19:26:46 -05:00
  • 4526154571 wip Thomas Pelletier 2021-02-19 09:39:50 -05:00
  • 978143ce99 Ensure that slices have been allocated when entering array Thomas Pelletier 2021-02-19 08:53:19 -05:00
  • 7f9822db35 Target set methods now check for types Thomas Pelletier 2021-02-19 08:39:18 -05:00
  • 052233e858 wip: debugging maps Thomas Pelletier 2021-02-18 23:30:46 -05:00
  • 629a2475a9 Handle maps Thomas Pelletier 2021-02-18 22:39:33 -05:00
  • 46573551f1 WIP constructing pointers Thomas Pelletier 2021-02-18 21:24:26 -05:00
  • 1f41c556e8 Handle missing fields in structs Thomas Pelletier 2021-02-13 14:35:39 -05:00
  • 9ac08febd2 DateTime/LocalDate/LocalTime implementation Thomas Pelletier 2021-02-10 20:58:22 -05:00
  • 2341b4df00 Comment out json-based comparison Thomas Pelletier 2021-02-10 18:42:43 -05:00
  • 6e79ce63c2 Reflect write to embeded structs Thomas Pelletier 2021-02-10 18:34:54 -05:00
  • e2a07a3b92 Handle interface field dereference Thomas Pelletier 2021-02-10 11:43:57 -05:00
  • 0dad1a950c Import Unmarshal tests (not passing) Thomas Pelletier 2021-02-10 10:41:34 -05:00
  • 27f0aeee30 Import localtime Thomas Pelletier 2021-02-10 10:41:23 -05:00
  • 721fa81f2e Support numbers Thomas Pelletier 2021-02-10 10:00:08 -05:00
  • f6a13d6e05 wip numbers Thomas Pelletier 2021-02-09 20:44:54 -05:00
  • 2660bb8426 Test inline tables Thomas Pelletier 2021-02-09 19:36:14 -05:00
  • 84282bbfd3 Move parser code Thomas Pelletier 2021-02-09 19:26:50 -05:00
  • 0982fd5f1f Check unhandled error Thomas Pelletier 2021-02-09 19:23:45 -05:00