Commit Graph

  • e60f6ae015 Added Bracket, Where, and Token (without tests) master b 2025-04-11 19:03:45 -06:00
  • 035fa7da14 Added Lazy combinator b 2025-04-02 15:50:12 -06:00
  • 82ed6b5546 Regexp: don't return error when match fails at EOF b 2025-04-02 14:24:21 -06:00
  • 4e157f7a0e Regexp: succeed on empty match at end of input b 2025-04-02 14:06:12 -06:00
  • 1892a97070 Add some TODOs b 2025-04-02 13:27:16 -06:00
  • 981edc92f7 Add Seq benchmarks b 2024-11-29 23:38:38 -07:00
  • 74237e2593 Merge branch 'master' of git.codemonkeysoftware.net:b/gigaparsec b 2024-11-29 11:00:38 -07:00
  • 17c468a3f7 Add naïve Seq series b 2024-11-29 11:00:34 -07:00
  • ac739c0f3b Update todo list b 2024-11-29 08:04:50 +00:00
  • b3a6bfc02e Don't be so negative, man b 2024-11-29 00:55:59 -07:00
  • c85d0d280e Move naïve Bind and Seq into a separate package b 2024-11-29 00:53:11 -07:00
  • fa6c15566d Fix formatting in inspiration.md b 2024-11-28 22:11:05 +00:00
  • 13d83e70ad Add missing SPDX headers b 2024-10-17 16:02:29 -06:00
  • 56536b04f6 Turn up Bind/Seq count and write a simple Bind benchmark b 2024-10-17 16:01:27 -06:00
  • bc2f7aa911 Added Try tests b 2024-10-17 08:57:45 -06:00
  • abef123f8a Removed unused Todo function b 2024-10-16 13:52:13 -06:00
  • f3a37f5fb6 Test Regexp failure message b 2024-10-16 13:50:14 -06:00
  • c22246b7de Added some Regexp tests b 2024-10-16 13:32:25 -06:00
  • 9c5e8fff0e Added Repeat tests b 2024-10-16 11:58:12 -06:00
  • bfc9a9ae58 Test Repeat success and next state b 2024-10-16 09:06:25 -06:00
  • 59903ba151 Check source files for missing SPDX headers b 2024-09-30 18:56:06 -06:00
  • 6e572d2748 Document State methods b 2024-09-30 15:42:26 -06:00
  • 526e40323d Clarify and fix State's EOF behavior b 2024-09-30 15:33:24 -06:00
  • c29be1a7b6 Re-added SliceReaderAt b 2024-09-30 13:02:57 -06:00
  • 5e6eafef64 Test Repeat success/failure b 2024-09-27 10:40:18 -06:00
  • 2d6f091e0b Update TODO b 2024-09-27 09:43:00 -06:00
  • 776b513c44 Return correct next state from Read b 2024-09-27 09:39:20 -06:00
  • e6debbd7dc Improve MatchSlice test output b 2024-09-27 09:37:35 -06:00
  • 82ade62274 Combine Cursor with State b 2024-09-27 09:29:27 -06:00
  • 5c779c4a33 Removed BufferedReaderAt b 2024-09-25 17:00:29 -06:00
  • 412707c2b5 Removed SliceCursor b 2024-09-25 16:56:48 -06:00
  • c0603b1c30 Added a generic ReaderAt b 2024-09-25 16:34:31 -06:00
  • e61bf67b85 More todos b 2024-09-25 15:50:28 -06:00
  • 9375b51a70 Renamed Result.Succeeded to Status and removed Failed b 2024-09-24 13:16:30 -06:00
  • f8bc7582a5 Simplified Result b 2024-09-24 12:56:10 -06:00
  • 9cab6d266d Added Repeat and listed necessary tests b 2024-09-24 12:31:38 -06:00
  • 447058020f Added MatchString b 2024-09-24 11:53:32 -06:00
  • 51f3532d64 Fix Message method names b 2024-09-19 22:44:51 -06:00
  • 1436be3c10 Unlicens the code and add SPDX identifier to files b 2024-09-18 16:28:53 -06:00
  • 51eab78878 Removed Bind and Seq prototypes b 2024-09-18 15:53:57 -06:00
  • be245b258c Added Run convenience function b 2024-09-18 13:01:44 -06:00
  • 4455c34735 Allow expected in MessageEnd b 2024-09-17 21:37:07 -06:00
  • 9673903dd7 Regexp: put pattern in a group to fix associativity b 2024-09-17 21:33:39 -06:00
  • 9171809e2b Removed some debug printing b 2024-09-17 20:55:09 -06:00
  • 5e9566be33 Fix RuneReader breaking right before EOF b 2024-09-17 20:48:38 -06:00
  • edff0f8ca0 Added Pipe and Match parsers b 2024-09-17 20:10:19 -06:00
  • 4fa3c2a466 Added documentation for most core parsers b 2024-09-17 11:42:43 -06:00
  • 4dd6885ff6 Format generated code b 2024-09-13 21:03:10 -06:00
  • 1e34c14bb0 Update TODO b 2024-09-13 20:53:17 -06:00
  • f0c10152d0 Generate Seq b 2024-09-13 20:48:33 -06:00
  • 6256b73325 Document Bind and friends b 2024-09-13 19:24:23 -06:00
  • 3e8b0e663c Generate Bind b 2024-09-13 18:28:38 -06:00
  • 745d0fa796 Wrote prototypes of generated SeqN and BindN b 2024-09-13 16:06:46 -06:00
  • 6277f7bb72 Start on Bind tests b 2024-09-13 14:50:12 -06:00
  • 828f804d8c Never mind about that Do parser b 2024-09-13 11:40:06 -06:00
  • 8e7a9760c6 Make Label a method on Parser b 2024-09-13 11:35:13 -06:00
  • a223f18f02 Move SliceOfNZero to test/generator package b 2024-09-13 11:24:43 -06:00
  • c9ee9916eb Test ReaderAtCursor with failing ReaderAt b 2024-09-13 11:17:32 -06:00
  • 4761259567 Refine Slice read error test b 2024-09-13 11:02:13 -06:00
  • 552b338381 Added reminder to look at Megaparsec improvements b 2024-09-13 10:49:26 -06:00
  • 7c7d0fef9b Result is failed by default b 2024-09-13 10:44:30 -06:00
  • 0a149acf46 Test Slice with a failing reader b 2024-09-13 10:38:47 -06:00
  • b040fd21c3 Hide Message fields b 2024-09-11 15:27:10 -06:00
  • 3222d1cfe7 Added README.md b 2024-09-11 15:13:22 -06:00
  • 078550f494 Added TODO.txt b 2024-09-11 14:54:35 -06:00
  • 4cbe9ce683 Added tests for Cursor.At b 2024-09-11 14:52:27 -06:00
  • 1f746ae6de Return a useful Got when Regexp fails b 2024-09-11 14:43:33 -06:00
  • ee544cd121 Make Regexp output a string b 2024-09-11 14:25:49 -06:00
  • 88dad17ee3 Handle reader errors in Regexp b 2024-09-11 14:23:08 -06:00
  • 065bb70138 Return End parser from a function for better doc generation b 2024-09-11 11:46:47 -06:00
  • 1d970026b3 Get rid of the old name 'reply' b 2024-09-11 11:44:40 -06:00
  • ef26d9496f Fix doc comment typo b 2024-09-11 11:43:19 -06:00
  • e368fd1764 Added LICENSE.txt b 2024-09-11 11:16:44 -06:00
  • bb1e77e8cd Hide all Result fields b 2024-09-11 11:09:16 -06:00
  • 570d7e32fc Remove commented code b 2024-09-11 10:27:43 -06:00
  • d0460e71e3 Separate parsing status from actual errors b 2024-09-11 10:25:45 -06:00
  • c1eae9fa34 Added End parser b 2024-09-10 19:00:44 -06:00
  • 3864fad99d Wrote down more details on needed Regexp tests b 2024-09-10 18:45:08 -06:00
  • 3e178e74fd Check both beginning-of-text conditions in Regexp b 2024-09-10 18:39:54 -06:00
  • 6919e604ad Stubbed missing tests b 2024-09-10 16:58:34 -06:00
  • 0aa8a89014 Move RuneReader into bytes package b 2024-09-10 16:52:08 -06:00
  • 2a4e499be2 Regexp parser needs tests b 2024-09-10 16:50:14 -06:00
  • 96d178efef Implement most of Regexp parser b 2024-09-10 16:46:31 -06:00
  • a7495bde87 Added Label combinator b 2024-09-10 15:56:09 -06:00
  • adc85b5572 Rewrite Map in terms of Bind and Return b 2024-09-10 14:38:18 -06:00
  • 14d2418d2c Fix prefix filter b 2024-09-10 09:30:54 -06:00
  • 87c54ca12b Upgrade github.com/shoenig/test to v1.11.0 b 2024-09-10 08:54:29 -06:00
  • 6852c803c4 Removed pointless hasPrefix in favor of point-free b 2024-09-09 15:19:00 -06:00
  • 4d3f576a67 Added curry for nerdy point-freedom b 2024-09-09 15:18:27 -06:00
  • 2759894ed8 Factored out Slice failure assertions b 2024-09-09 15:13:37 -06:00
  • 8943da5aee Check that Slice has correct position after matching b 2024-09-09 15:00:17 -06:00
  • f75904ca93 Added Map combinator b 2024-09-09 10:33:46 -06:00
  • ef74691415 Wrote some Slice tests b 2024-09-09 10:27:54 -06:00
  • 727426d704 Added Slice parser b 2024-09-08 12:09:20 -06:00
  • c92ffde044 Added Cursor.At test b 2024-09-08 09:17:29 -06:00
  • a2e9d2cc8d Removed StringCursor because strings.Reader is a ReaderAt b 2024-09-03 16:13:21 -06:00
  • cfeaaa27e3 Implemented (but not tested) cursor.RuneReader b 2024-09-03 16:10:27 -06:00
  • 9b15090171 Added vscode config and test logs to .gitignore b 2024-09-03 13:57:43 -06:00
  • 49bfcb7462 Added cursor tests b 2024-09-03 13:55:32 -06:00
  • b06454a4bc Get rid of binary Choose b 2024-09-02 21:20:13 -06:00