6f954b1183
tweaks to playground files
2024-11-25 16:25:05 -08:00
acb37a2882
Only log metas for top file, remove metas from Context
2024-11-23 17:48:03 -08:00
a809ad1975
remove node dependencies from Prelude.newt
2024-11-23 16:24:08 -08:00
5cbe594993
merge aoc lib and prelude
2024-11-23 15:08:49 -08:00
dda0bf6fb9
playground: add ability to run code
2024-11-23 10:21:09 -08:00
affae1fecf
Allow where defs to refer to themselves
2024-11-20 19:51:25 -08:00
7c8c0c9df0
keep newt.js separate in playground
2024-11-20 19:45:32 -08:00
1a9d44434c
first pass at where clauses
2024-11-19 22:40:52 -08:00
c665310653
Address issues with unify's case tree in idris
...
Clean up some stuff in prelude
Add parser for where
2024-11-19 21:35:50 -08:00
9b19c569c9
sugar in samples
2024-11-19 05:35:29 -08:00
6b36dd1cd1
First pass at sugar for instances.
2024-11-17 19:33:19 -08:00
fac34e729c
add sugar for typeclass
2024-11-16 21:08:01 -08:00
454dccaa72
add sugar for if/then/else
2024-11-16 15:49:27 -08:00
b185065fb0
Port Prettier.idr to newt
2024-11-16 12:01:48 -08:00
26119be8b6
update readme
2024-11-15 21:16:32 -08:00
9767d92952
more tweaks to pretty printing.
2024-11-15 20:16:02 -08:00
9faee86886
tweaks to output, fix scope issue in pprint
2024-11-15 16:49:31 -08:00
e6944bc842
Add example from youtube, allow unicode type names
2024-11-14 21:07:49 -08:00
60abe813dc
better names on solutions
2024-11-14 16:28:40 -08:00
a186c15477
suppress closure env in printing
2024-11-13 22:03:00 -08:00
f80fc9c0ff
check for shadowed names at top level
2024-11-13 21:54:00 -08:00
0589a30d40
Address a few issues in Combinatory.newt
2024-11-13 20:25:02 -08:00
9e72ed67fc
refactoring
...
- move over to env for unify et al
- fix issue where constraint had short context
- drop parameters block - make it clear where context is being used
2024-11-12 21:34:43 -08:00
91bb79a998
Mixfix operators
2024-11-10 21:13:18 -08:00
6abd97ee85
Improvements to grammar
2024-11-09 21:43:38 -08:00
bb749a917a
forall / ∀ syntactic sugar
2024-11-09 20:17:38 -08:00
c6cbb13eb7
add comments to Lists.newt
2024-11-09 17:18:14 -08:00
d4b446d122
styling fixes for iphone
2024-11-09 16:14:20 -08:00
2857321b39
Fill in a little more of the PLFA Lists example
2024-11-09 16:00:38 -08:00
69693a4995
defer skolem issue from unsolved meta application
2024-11-09 14:50:50 -08:00
e814ebfb02
vertical orientation for phones
2024-11-09 11:41:04 -08:00
3daf6b4dc2
add list concat sample
2024-11-09 10:01:50 -08:00
bbd4832671
printing improvements, improve case eval
2024-11-09 09:34:37 -08:00
778ac056f1
update web on push
2024-11-08 22:05:24 -08:00
bd51c8352a
expand scrutinee in eval
2024-11-08 20:46:34 -08:00
adc967c464
tweaks to playground
2024-11-08 19:50:26 -08:00
ed44d427cd
deploy to pages
2024-11-07 23:33:23 -08:00
f0c9e3bf63
Add Tour.newt sample and make it the default.
...
Improvements to editor support.
2024-11-07 21:37:30 -08:00
24ab6aa212
add samples to playground
2024-11-06 22:12:43 -08:00
eb1388caa8
change {A} to mean {_ : A} instead of {A : _}
2024-11-06 21:10:05 -08:00
375c16f4fd
Search includes scope, tweak to code formatting
2024-11-06 20:53:44 -08:00
de5f9379d9
playground improvements
2024-11-06 20:51:57 -08:00
d82c224bc3
address overflow in Prettier,
...
move Pi constructor to before it is constructed
2024-11-06 06:59:23 -08:00
0a6807831c
switch to preact
2024-11-06 06:50:59 -08:00
ae5a79e151
move newt to web worker
2024-11-05 20:20:20 -08:00
182876d16b
Playground highlights and shows info/errors from build
2024-11-05 13:44:16 -08:00
f92d287909
Crude first pass at playground page
2024-11-04 22:30:40 -08:00
f225d0ecbd
Print meta info for claims and data, update sample code
2024-11-02 22:11:58 -07:00
d09afd89e0
Fix issue in case eval
2024-11-02 19:43:04 -08:00
6baee23a73
addZero now works
...
distinguish two modes of unification
while pattern matching we return constraints on variables, and normally
we are more aggressive about evaluating when matching against a variable.
fixes to `let`
surface #check in vscode
2024-11-02 18:23:46 -08:00