Commit Graph

807 Commits

Author SHA1 Message Date
Kamil Shakirov
9e42eb1be1 Fix 'install-api' makefile target
When building from a clean state `src/IdrisPaths.idr` must be generated first
before installing `idris2api.ipkg`.
2020-06-18 17:19:48 +06:00
Niklas Larsson
12957ea614
Merge pull request #324 from idris-lang/melted-patch-1
Mention custom codegens in the change log
2020-06-18 13:04:36 +02:00
Niklas Larsson
9ebe6c9cc7
Mention custom codegens in the change log 2020-06-18 12:30:35 +02:00
Nicolas Biri
c72cb849a8 Add missing modules in base.ipkg 2020-06-18 10:32:51 +01:00
Niklas Larsson
bd9498c003
Merge pull request #320 from melted/custom_conf
Use custom configuration from custom.mk if present.
2020-06-17 16:24:59 +02:00
Niklas Larsson
323ee196ec
Merge branch 'master' into custom_conf 2020-06-17 15:26:08 +02:00
Niklas Larsson
0d52b194b5
Merge pull request #319 from ska80/openbsd
Add support for OpenBSD
2020-06-17 15:25:12 +02:00
Niklas Larsson
b92270125c Use custom configuration from custom.mk if present. 2020-06-17 14:31:17 +02:00
Kamil Shakirov
52cdc7a26f Do not supply already exported variables to bootstrap scripts 2020-06-17 18:22:09 +06:00
Kamil Shakirov
fdb106a787 Pass MAKE variable 2020-06-17 15:48:18 +06:00
Kamil Shakirov
4ca80ab7b0 Refactor bootstrap scripts 2020-06-17 15:43:50 +06:00
Kamil Shakirov
4f0c262ddc Add support for OpenBSD
and probably for other *BSD operating systems with minor tweaks
2020-06-17 15:14:54 +06:00
Ohad Kammar
9f643a2243 minor: fix spaces/alignment
Thanks @gallais
2020-06-16 20:36:15 +01:00
Ohad Kammar
87d4411709 Merge branch 'master' of github.com:idris-lang/Idris2 into fancy-preorder-reasoning 2020-06-16 20:10:21 +01:00
Ohad Kammar
96cd878a3f Speed-up (hopefully) Syntax.PreorderReasoning syntax from contrib 2020-06-16 20:09:31 +01:00
Giuseppe Lomurno
cd1730f0ab Add module REPL command 2020-06-16 17:29:10 +02:00
Niklas Larsson
452eaaf2b9
Merge pull request #310 from chrrasmussen/replace-ffi-in-hex-function
Replace FFI implementation of 'hex' function with a plain Idris version
2020-06-16 14:42:48 +02:00
Niklas Larsson
4c6670966d
Merge pull request #312 from ska80/support-chez
Update Chez support for *BSD operating systems
2020-06-16 14:40:45 +02:00
Niklas Larsson
f04af3dd56
Merge pull request #313 from melted/fix_setenv
Fix setenv and unsetenv
2020-06-16 14:39:53 +02:00
Niklas Larsson
0c7fc9b73c simplify win32_modenv 2020-06-16 14:09:12 +02:00
Niklas Larsson
2e8f618f00 Apparently overwrite should report success 2020-06-16 14:02:04 +02:00
Niklas Larsson
24715a8fd0 Overwrite should be true in the first call
In case anybody has that defined in their environment.
2020-06-16 13:48:31 +02:00
Niklas Larsson
8540728202 Handle overwrite on windows
Expand test to test overwrite
2020-06-16 13:44:10 +02:00
Niklas Larsson
8633dde240 Add stdlib include 2020-06-16 12:53:36 +02:00
Niklas Larsson
6974b318a3 Add test for setenv and unsetenv 2020-06-16 12:36:39 +02:00
Niklas Larsson
630e4219fc Fix unsetenv
implement Windows support
2020-06-16 12:09:22 +02:00
Kamil Shakirov
24226edc83 Update Chez support for *BSD operating systems 2020-06-16 16:03:38 +06:00
Niklas Larsson
1008dae9bc
Merge pull request #303 from melted/other_codegen
Implement support for other codegens via the Idris2 API
2020-06-16 01:57:40 +02:00
Christian Rasmussen
8505dd7854 Replace FFI implementation of 'hex' function with a plain Idris version 2020-06-16 01:40:28 +02:00
Niklas Larsson
fe380861a9
Merge pull request #286 from nickdrozd/contrib
Port over some stuff from contrib
2020-06-16 00:14:40 +02:00
Nick Drozd
f027346d52 Add note about cong 2020-06-15 14:56:19 -05:00
Nick Drozd
b096062858 Fill in missing Nat proofs 2020-06-15 14:56:19 -05:00
Nick Drozd
3b0496b8ab Port over some contrib stuff
I didn't add any export labels because none of this is actually useful
for anything, but the proofs are cool.
2020-06-15 14:56:19 -05:00
Niklas Larsson
de6dc57502 Set the first supplied codegen as the default 2020-06-15 16:11:08 +02:00
Niklas Larsson
e32700cff8 Add test
It takes a long time to run, but it is basically all
the testing we need of the API, if this works it's
unlikely to be broken. It requires  a change in the build
system, so don't enable it for now.
2020-06-15 16:11:08 +02:00
Niklas Larsson
2ec923d4f3 Add documentation 2020-06-15 16:11:08 +02:00
Niklas Larsson
5221954aca Prepare for additional codegens
The idea is to make everything accessible via the API, so
codegen implementors will be able to reuse all infrastructure by calling
the appropriate function in Idris.Driver supplying their codegen.
2020-06-15 16:11:05 +02:00
Niklas Larsson
9f325945b9
Merge pull request #285 from ShinKage/code-in-errors
[RFC] Better error messages - show failing code in error messages
2020-06-15 16:07:30 +02:00
Giuseppe Lomurno
788ae023e3 Merge remote-tracking branch 'upstream/master' into code-in-errors 2020-06-15 15:12:49 +02:00
Giuseppe Lomurno
94e69f1d67 Rebase to master 2020-06-15 14:20:40 +02:00
Niklas Larsson
5751a12aa0
Merge pull request #306 from ska80/help-options-fmt
Improve help options formatting
2020-06-15 14:16:19 +02:00
Niklas Larsson
4dc151086c
Merge pull request #283 from timsueberkrueb/more-file-io
Extend Control.App.FileIO
2020-06-15 14:13:17 +02:00
Niklas Larsson
9ab5f55b57
Merge pull request #284 from clayrat/master
Various stdlib updates
2020-06-15 14:04:46 +02:00
Alex Gryzlov
2912b194d5 fix coverage010 2020-06-15 13:22:04 +02:00
Kamil Shakirov
3a67dee49c Group similar help options 2020-06-15 15:29:48 +06:00
Kamil Shakirov
50303ffa88 Improve help options formatting 2020-06-15 14:14:18 +06:00
Alex Gryzlov
2ee42e777a Merge remote-tracking branch 'upstream/master' 2020-06-15 03:01:57 +02:00
Niklas Larsson
ca20213adf
Merge pull request #290 from ska80/cmd-default-host-port
Remove hardcoded default 'host' and 'port' parts from command-line he…
2020-06-14 12:03:01 +02:00
Niklas Larsson
3c42e0e83d
Merge pull request #299 from melted/debug_buf
Debug printing for buffers
2020-06-14 11:52:31 +02:00
Niklas Larsson
d79d1b5587 Align last row with ugly hack 2020-06-14 00:57:53 +02:00