Niklas Larsson
1d7378778a
Fix bootstrap
...
This was broken in #425 , because Idris2-boot hasn't implemented the
fix for #116
2020-07-09 00:04:03 +02:00
Niklas Larsson
b955d2e50c
Merge pull request #436 from edwinb/update-js
...
Update JS code generator to remove RF
2020-07-09 00:03:51 +02:00
Edwin Brady
2ab2adec0b
Update JS code generator to remove RF
...
This name was removed in a recent patch, leading to a small conflict.
Also added a note to the CHANGELOG and a placeholder in the docs.
2020-07-08 22:40:47 +01:00
Edwin Brady
23cbc28b1d
Merge pull request #415 from rbarreiro/javascript
...
Javascript
2020-07-08 22:27:58 +01:00
Edwin Brady
28b52fbc48
Merge pull request #432 from edwinb/docstrings
...
Initial implementation of :doc and :browse
2020-07-08 18:28:14 +01:00
Edwin Brady
2696130720
Update CHANGELOG for :doc and :browse
2020-07-08 18:06:02 +01:00
Edwin Brady
6dce3a0735
Add :browse
...
Lists all the names in a namespace with their types, and the first line
of their docstring if it exists
2020-07-08 17:56:54 +01:00
Edwin Brady
b0c226f05b
Extract interface info from hints
2020-07-08 17:21:28 +01:00
Edwin Brady
656a9d8f98
Also display methods of interfaces
...
Displaying implementations is a better harder at the moment, since
they're implemented via search hints...
2020-07-08 16:52:56 +01:00
Niklas Larsson
ae5398e41f
Merge pull request #431 from cypheon/lambdalift-new-casewith-names
...
Make sure names derived from case and with blocks get unique names during LambdaLifting
2020-07-08 17:13:32 +02:00
Edwin Brady
ff46a8db14
Initial implementation of :doc
...
It's not pretty, but at least it exists now
2020-07-08 15:52:57 +01:00
Guillaume ALLAIS
301666b91d
[ fix #423 ] --repl should load the main file
2020-07-08 15:29:37 +01:00
Guillaume ALLAIS
e277054fda
[ refactor ] lift partitionEithers to toplevel
2020-07-08 15:29:37 +01:00
Guillaume ALLAIS
b19a8e0a2c
[ cleanup ] trailing whitespace
2020-07-08 15:29:37 +01:00
Johann Rudloff
61987b89bd
Make sure names derived from case and with blocks get unique names during LambdaLifting
2020-07-08 16:22:15 +02:00
Niklas Larsson
21e95a95d8
Merge pull request #428 from melted/remove_ccall
...
Remove prim__cCall
2020-07-08 13:52:26 +02:00
Niklas Larsson
fc6b184106
Remove prim__cCall
...
It's not used anymore and %foreign is preferred.
2020-07-08 11:45:41 +02:00
Edwin Brady
2959829605
Merge pull request #426 from edwinb/record-implicits
...
Leave implicit record fields alone on update
2020-07-08 00:33:23 +01:00
Edwin Brady
58359c2d01
Leave implicit record fields alone on update
...
Unless an explicit update is given
2020-07-07 22:36:15 +01:00
Matus Tejiscak
634fe4d171
Fix tests.
2020-07-07 21:06:35 +01:00
Matus Tejiscak
168e5d8a21
Update postfix projection doc.
2020-07-07 21:06:35 +01:00
Matus Tejiscak
98e94f956e
Rename record projections to postfix projections.
2020-07-07 21:06:35 +01:00
Matus Tejiscak
4af4ae01ae
Update the postfix projection doc.
2020-07-07 21:06:35 +01:00
Matus Tejiscak
a4c59204c5
Add postfix projection sections.
2020-07-07 21:06:35 +01:00
Matus Tejiscak
bfb56ae71a
Update the doc.
2020-07-07 21:06:35 +01:00
Matus Tejiscak
ca2c9163c7
Implement %language PostfixProjections.
2020-07-07 21:06:35 +01:00
Matus Tejiscak
c9aa733626
Add more test examples.
2020-07-07 21:06:35 +01:00
Matus Tejiscak
f478a03b69
Allow arbitrary expressions in postfix projections.
2020-07-07 21:06:35 +01:00
Matus Tejiscak
3b6d7a22e3
Remove forgotten .field from docs.
2020-07-07 21:06:35 +01:00
Matus Tejiscak
b46064f688
Update docs and tests.
2020-07-07 21:06:35 +01:00
Matus Tejiscak
3484510f5a
Implement postfix dotted application.
2020-07-07 21:06:35 +01:00
Rui Barreiro
2feb4b8299
Merge branch 'master' of github.com:idris-lang/Idris2 into javascript
2020-07-07 14:18:00 +01:00
Niklas Larsson
c4608745f7
Merge pull request #424 from markuspf/remove-superflous-argument
...
Remove a superflousy declared argument to idris2_openFile
2020-07-07 13:37:36 +02:00
Markus Pfeiffer
63ddd149ed
Remove a superflousy declared argument to idris2_openFile
...
This didn't cause a problem before as it was likely just ignored by the C
function. According to Edwin the extra argument is a leftover from when this
was a pure scheme call.
2020-07-07 11:44:37 +01:00
arty
1d14026f9d
Add comment about TTC files in TTC error
2020-07-07 11:20:04 +01:00
Nick Drozd
7d5788471d
Update tests
2020-07-07 10:48:23 +01:00
Nick Drozd
2ae6e06565
Simplify Fin
2020-07-07 10:48:23 +01:00
Nick Drozd
7d1ee9dd08
Simplify Equality
2020-07-07 10:48:23 +01:00
Nick Drozd
48fe4382eb
Simplify List
2020-07-07 10:48:23 +01:00
Nick Drozd
877f3702ad
Simplify Maybe
2020-07-07 10:48:23 +01:00
Nick Drozd
465be9cb86
Simplify Either
2020-07-07 10:48:23 +01:00
Nick Drozd
faabbfcea1
Add some Uninhabited implementations
2020-07-07 10:48:23 +01:00
Nick Drozd
7c923944ae
Add %default total
to a few modules
2020-07-07 10:48:23 +01:00
Michael Birch
5c9339bde8
Merge sort implementation for Vect ( #417 )
2020-07-07 10:25:42 +01:00
Rui Barreiro
ca7a6cecff
fix switch from takeLast to extension
2020-07-06 20:36:48 +01:00
Rui Barreiro
e8fc14e890
Update src/Compiler/ES/Javascript.idr
...
Co-authored-by: Andy Lok <andylokandy@hotmail.com>
2020-07-06 20:24:11 +01:00
Edwin Brady
77ad6eac0a
Merge pull request #422 from edwinb/record-implicits
...
Pay attention to implicits in record update
2020-07-06 18:06:43 +01:00
Edwin Brady
0cf37f621b
Pay attention to implicits in record update
...
Resolves #421
2020-07-06 17:39:55 +01:00
Rui Barreiro
3acc30599e
Merge branch 'master' of github.com:idris-lang/Idris2 into javascript
2020-07-06 17:09:11 +01:00
Rui Barreiro
a6be3ee104
added nodejs version to README
2020-07-06 17:09:00 +01:00