Commit graph

37 commits

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