Commit Graph

40 Commits

Author SHA1 Message Date
rhiannon morris 11b0ab6a25 remove default from `FromParser.fromParserPure` and `Main.step` 2024-04-07 03:20:42 +02:00
rhiannon morris 7a0bc73d25 approximate log stack in handleLogDiscard 2024-04-06 20:14:24 +02:00
rhiannon morris 567176e076 log refactors 2024-04-05 18:43:00 +02:00
rhiannon morris 3b6ae36e4e add logging to core 2024-04-04 19:26:41 +02:00
rhiannon morris 861bd55f94 add log effects to FromParser 2024-04-04 19:26:41 +02:00
rhiannon morris e6ad16813e add log effects to executable 2024-04-04 19:26:41 +02:00
rhiannon morris ec839a1d48 big Main refactor 2024-04-04 19:26:41 +02:00
rhiannon morris 1c8c50f3e2 remove some unneeded Ord impls 2024-02-10 10:14:22 +01:00
rhiannon morris 1f01cec322 refactor Main a whole lot 2024-02-10 10:14:22 +01:00
rhiannon morris 03c197bd04 add local bindings to context
- without this, inside the body of `let x = e in …`, the typechecker
  would forget that `x = e`
- now bound variables can reduce, if they have a definition, so RedexTest
  needs to take the context too
2023-12-07 01:43:39 +01:00
rhiannon morris c48b7be559 add html output highlighting 2023-11-05 15:47:52 +01:00
rhiannon morris da3cd404f3 handle when getTermCols returns 0 2023-11-05 15:40:19 +01:00
rhiannon morris 4cc50c6bcd highlight errors even if real output is to a file
(unless told not to)
2023-11-03 18:05:54 +01:00
rhiannon morris 050346e344 add postulate, #[compile-scheme], #[main] 2023-11-03 18:05:54 +01:00
rhiannon morris cc0bade747 scheme output 2023-11-03 18:05:54 +01:00
rhiannon morris 1f14e4ab9e automate more option stuff
if the elaborator writes it then it will be kept up to date
automatically
2023-11-03 18:05:54 +01:00
rhiannon morris f4a45b6c52 keep the Except effect at the start of the list 2023-11-03 18:05:54 +01:00
rhiannon morris 83ab871d61 new main 2023-11-03 18:05:54 +01:00
rhiannon morris 52e54dcc3c add PrettyVal stuff for parser AST 2023-11-03 18:05:54 +01:00
rhiannon morris e6c06a5c81 pass the subject quantity through equality etc
in preparation for non-linear η laws
2023-09-18 21:53:38 +02:00
rhiannon morris f3f74d581a fix Main 2023-08-26 21:07:10 +02:00
rhiannon morris 7b93a913c7 rewrite pretty printer 2023-05-15 17:13:14 +02:00
rhiannon morris d5f4a012c5 add source locations to inner syntax 2023-05-02 03:06:25 +02:00
rhiannon morris c04c2e677c print quantity before names in main 2023-04-17 21:43:53 +02:00
rhiannon morris 868550327c print ':' on same line as name always 2023-04-03 16:08:13 +02:00
rhiannon morris 64ac16c9f9 executable that typechecks files!! 2023-03-31 19:31:29 +02:00
rhiannon morris c9b9f66693 rename 'prettyTerm' to 'prettyIO'
it meant pretty*Terminal*, but,
2023-03-15 15:42:28 +01:00
rhiannon morris 86d21caf24 put names into contexts, and contexts into errors 2023-03-14 16:04:41 +01:00
rhiannon morris 75ef078b4b don't print substitutions by default 2023-02-26 11:25:11 +01:00
rhiannon morris 630832f6c7 tweak quog tongue
h-hey!
2023-02-26 10:58:48 +01:00
rhiannon morris c25b910edf fix Main.idr 2023-02-26 10:58:22 +01:00
rhiannon morris 92617a2e4a whnf actually reduces to whnf now (probably) 2023-01-23 03:02:55 +01:00
rhiannon morris c45a963ba0 parameterise over qty semiring 2023-01-08 20:44:25 +01:00
rhiannon morris 804f1e3638 remove src directories 2022-05-06 22:01:44 +02:00
rhiannon morris 49c43ad296 heartbreaking: Quox.Error doesn't actually work 2022-05-06 21:24:01 +02:00
rhiannon morris 1931f954fb renamings 2022-05-04 20:13:56 +02:00
rhiannon morris 7f415328a2 wip nix 2022-05-04 17:09:49 +02:00
rhiannon morris 9ae0e36a65 time for sirdi 2022-05-02 20:51:19 +02:00
rhiannon morris df3505a04c use vars in makefiles i guess 2022-05-02 02:41:00 +02:00
rhiannon morris cf119694c1 move executable to subdir 2022-05-01 17:11:13 +02:00