Commit Graph

809 Commits

Author SHA1 Message Date
Erik Svedang
885830b15e docs: Playing around with slightly different link style 2020-11-19 20:53:46 +01:00
Erik Svedäng
e08a69c9aa fix: Update doc links 2020-11-18 22:12:19 +01:00
Erik Svedang
93b1d97f69 fix: Remove auto-generated (core) docs 2020-11-18 09:34:38 +01:00
Erik Svedäng
fe9b07927a feat: Bring back the original (problematic) function 2020-11-11 06:58:41 +01:00
Tim Dévé
9a3870afe4 Adds unsafe-raw to StaticArray module 2020-11-07 17:49:41 +00:00
hellerve
acce3a471c register-type: fix for void 2020-11-05 16:49:32 +01:00
hellerve
a3dd41ee25 docs: fix typo in Quadruple docs 2020-10-15 15:16:37 +02:00
Erik Svedäng
cd175511fa
Merge pull request #933 from hellerve/veit/doc-typo-fix
macros: fix typo in curry* docs
2020-10-12 20:42:12 +02:00
Jorge Acereda
58a61dd42e Add support for cross-compilation. 2020-10-10 20:01:18 +02:00
hellerve
21c2043e3e macros: fix typo in curry* docs 2020-10-06 21:44:15 +02:00
scottolsen
1206ad2309 Update 2020-10-02 18:03:34 -04:00
scottolsen
af62b6f1b8 Add docs on interfaces and implements
Interfaces are now explicitly implemented using the `implements` key
word (in the past, implementation of an interface was implicit based on
matching names and function signatures).

This commit updates the language guide to account for this change and
includes an illustrative example to provide guidance on using
interfaces.
2020-09-21 15:59:13 -04:00
hellerve
ef355b91d8 core: use static array for args 2020-08-24 11:20:52 +02:00
xd1le
d1da7af2bc docs: fix some typos and minor grammatical errors 2020-07-26 08:30:37 +10:00
Erik Svedäng
8cb020788d Docs 2020-07-14 19:41:59 +02:00
Erik Svedäng
f40fc1f342 Docs 2020-07-13 14:08:11 +02:00
Erik Svedäng
ac85c7bcbe Docs 2020-07-04 11:14:18 +02:00
scottolsen
ccd270f956 Regenerate docs 2020-06-19 09:19:59 -04:00
scottolsen
6b9064f9af Generate Opaque docs (again) 2020-06-19 09:19:04 -04:00
scottolsen
da3be90b55 Merge branch 'master' of https://github.com/carp-lang/Carp into opaque 2020-06-19 09:18:34 -04:00
Erik Svedäng
15bdf38f23
Merge pull request #888 from hellerve/veit/phantoms
core: add Phantom
2020-06-19 09:30:42 +02:00
scottolsen
5c170239c8 Generate docs for Opaque 2020-06-18 09:50:29 -04:00
scottolsen
becf6f09fa Add Opaque to doc generation 2020-06-18 09:47:46 -04:00
hellerve
1d0944a187 core: add docs for phantom 2020-06-17 19:06:49 +02:00
Scott Olsen
a45f17b6be Update style, remove personal pronouns 2020-06-14 11:01:05 -04:00
Scott Olsen
fc4f55de36 Add a doc capturing common patterns
The first pattern is one I've found handy for returning some data
structure that contains the results of running two different
ownership-taking functions on some argument.
2020-06-13 23:54:06 -04:00
Erik Svedäng
651c36f0d9
Merge pull request #859 from jacereda/pkgconfig-flags
Add pkgconfigflags.
2020-06-08 21:57:43 +02:00
Scott Olsen
f062e054dd Merge branch 'master' of https://github.com/carp-lang/Carp into constrained-interfaces 2020-06-02 00:46:00 -04:00
Jorge Acereda
6656d96791 Add pkgconfigflags. 2020-06-01 21:34:12 +02:00
hellerve
357d28a167 core: update doc of cond 2020-05-26 21:50:26 +02:00
Erik Svedäng
bbb7920332
Merge pull request #815 from hellerve/veit/fix-776
Make Array.range safe
2020-05-26 20:55:16 +02:00
Erik Svedäng
bf4fed793a
Merge pull request #833 from hellerve/veit/fix-830
Autogenerate Tuple types and document
2020-05-26 20:51:46 +02:00
Bhawna Patnaik
a4950a83a3
update the examples 2020-05-26 19:38:36 +05:30
Bhawna Patnaik
22adeba664
docstring for cond 2020-05-24 23:37:10 +05:30
Bhawna Patnaik
797133e950
update cond with eg 2020-05-24 21:14:56 +05:30
Bhawna Patnaik
8bf129daa7
update cond 2020-05-24 20:11:23 +05:30
Bhawna Patnaik
e1cc0a563d
update with cond 2020-05-24 19:51:40 +05:30
hellerve
229264f7d1 core: update dcostring for range-or-default 2020-05-24 12:51:11 +02:00
hellerve
be8424657d core: rename unsafe-range to range-or-default 2020-05-24 12:26:18 +02:00
hellerve
9be2b8e4fb core: autogenerate Tuple types and document 2020-05-24 11:49:27 +02:00
hellerve
74d734903e core: move range into array ext and add unsafe-range 2020-05-21 15:23:29 +02:00
Erik Svedäng
294b8d0542 Docs 2020-05-21 11:18:13 +02:00
hellerve
3353427dd9 core: make Array.range safe 2020-05-18 22:59:41 +02:00
Erik Svedäng
14a0d7e722
Merge pull request #799 from hellerve/veit/string-to-bytes
Add String.to-bytes
2020-05-13 20:59:37 +02:00
hellerve
468c232741 core: add String.to-bytes 2020-05-13 17:15:26 +02:00
Erik Svedäng
e4e3c4208a
Merge pull request #790 from hellerve/veit/safe-num-from-string
Make Num.from-string better
2020-05-12 23:04:00 +02:00
hellerve
c569666a0a core: make from-string better 2020-05-12 22:33:40 +02:00
Erik Svedäng
d9295b3c1f
Merge pull request #788 from hellerve/veit/str-on-numeric-refs
Add str on refs for numeric types
2020-05-12 22:25:25 +02:00
Erik Svedäng
dcca7505d1
Merge pull request #786 from hellerve/veit/move-to-templates
Move templates out of the compiler into deftemplates
2020-05-12 22:24:54 +02:00
hellerve
06f7ea4c28 docs: update for refs 2020-05-12 21:50:21 +02:00
Erik Svedäng
dfdc24c46e
Merge pull request #789 from scolsen/prim-howto
Add mini-guide on implementing primitives
2020-05-12 20:07:41 +02:00
Erik Svedäng
2121b87151
Merge pull request #787 from hellerve/veit/add-new-asserts
Add assert-ref-equal, assert-just, and assert-nothing
2020-05-12 19:59:36 +02:00
scottolsen
b329f851d6 Fix typos, better headings, etc. 2020-05-12 13:19:05 -04:00
scottolsen
cc427f78ef Fix some formatting issues 2020-05-12 11:32:57 -04:00
scottolsen
40dc1b154f Add mini-guide on implementing primitives 2020-05-12 11:29:37 -04:00
hellerve
9e2c2fe2fd test: add assert-ref-equal, assert-just, and assert-nothing 2020-05-12 14:53:42 +02:00
hellerve
fce423aee9 core: move as many templates as possible out of the compiler 2020-05-12 12:44:17 +02:00
Erik Svedäng
e9f5863114
Merge pull request #785 from hellerve/veit/edit-hacking
Edit hacking
2020-05-12 12:02:16 +02:00
hellerve
ba172b2d76 doc: clarified function of expand in hacking 2020-05-12 11:36:48 +02:00
hellerve
4f97404105 docs: unify src locations in hacking.md 2020-05-12 11:34:44 +02:00
Erik Svedäng
0f461dd011
Merge pull request #771 from hellerve/veit/pattern-substitute-docs
Mention backreferences in docs for Pattern.substitute
2020-05-12 11:33:17 +02:00
Erik Svedäng
0b24bad6a4
Merge pull request #770 from jacereda/fix708
Fix unicode handling
2020-05-12 11:32:32 +02:00
Scott Olsen
ba20770854 Fix typos 2020-05-11 20:12:11 -04:00
scottolsen
5b117e1d2d Add hacking doc 2020-05-11 17:25:15 -04:00
Jorge Acereda
9b08b6df3c Merge 2020-05-11 16:10:35 +02:00
Erik Svedäng
54bedb9389 Generate docs again. 2020-05-11 15:07:45 +02:00
Erik Svedäng
bfb4bb6e30
Merge pull request #781 from TimDeve/git-bash
Makes test bash script running on MSYS/Git Bash
2020-05-11 14:58:56 +02:00
Tim Deve
8e6d9e5060 Updates expected because the switch from λ to Fn 2020-05-11 13:06:10 +01:00
Erik Svedäng
7dc1b8a60d Remove Presentation.md, will move it to separate repo. 2020-05-11 14:05:37 +02:00
Scott Olsen
ee65a81e4d Remove Interop doc -- it's not ready!! 2020-05-10 23:52:18 -04:00
Scott Olsen
40cac423aa Add small note on polymorphic constructor syntax 2020-05-10 23:46:57 -04:00
hellerve
57be1e7f4e core: mention backreferences in substitute docs 2020-05-10 12:20:26 +02:00
Erik Svedäng
849bf7b23b
Merge pull request #766 from hellerve/veit/deftamplate-docs
Add deftemplate docs
2020-05-09 09:03:47 +02:00
hellerve
efe24ed809 docs: add deftemplate 2020-05-09 00:24:18 +02:00
hellerve
86b304dfbc embedded: flesh out intro more 2020-05-08 23:23:01 +02:00
hellerve
6a46c22114 docs: add embedded doc 2020-05-08 23:13:51 +02:00
hellerve
fe9d6050b5 primitives: fix example usage string 2020-05-08 12:19:34 +02:00
hellerve
2fcccdc87d commands: fix example usage string 2020-05-08 12:18:43 +02:00
hellerve
b27fa1dec5 commands: document and enforce documentation on registration 2020-05-08 12:14:20 +02:00
Erik Svedäng
fadfa151ba Documentation for renaming types with register-type. 2020-05-06 11:53:37 +02:00
Erik Svedäng
e13048687e Remove test log. 2020-05-06 10:56:11 +02:00
Erik Svedäng
870d549da9 Merge branch 'master' into do-not-reload-core-libs 2020-05-06 10:08:56 +02:00
Erik Svedäng
1ce8ccffd2
Merge pull request #749 from hellerve/veit/add-env-to-macro-docs
Mention environment in macro docs
2020-05-05 15:34:35 +02:00
hellerve
83b0201cd8 docs: mention environment in macro docs 2020-05-05 15:21:36 +02:00
Erik Svedäng
78f85d73c1
Merge pull request #747 from hellerve/veit/better-dynamic-tests
Better dynamic tests
2020-05-05 15:20:08 +02:00
hellerve
4e711a4eb0 core: add docs for any? and all? 2020-05-05 15:19:43 +02:00
hellerve
80d1086cb7 tests: better dynamic tests 2020-05-05 15:09:18 +02:00
Erik Svedäng
ca804beace Added support for (load-once). 2020-05-05 15:00:57 +02:00
Erik Svedäng
6f70dbd18e Merge branch 'master' into match-on-refs 2020-05-05 13:57:58 +02:00
Erik Svedäng
9951468a5a
Merge pull request #742 from hellerve/veit/fix-719
Make primitives proper AST objects
2020-05-05 09:45:00 +02:00
hellerve
5838136f83 core: rename dynor and dynand and check in docs 2020-05-04 23:47:06 +02:00
Erik Svedäng
a49a28575f Docs. 2020-05-04 13:20:53 +02:00
Tim Dévé
da98a770be Adds StaticArray nth & contains? 2020-05-04 09:35:39 +01:00
Tim Dévé
5965b098bb Adds StaticArray reverse! 2020-05-04 09:35:39 +01:00
Tim Dévé
b5d363c85e Adds StaticArray minimum & maximum 2020-05-04 09:35:39 +01:00
Tim Dévé
27ce300648 Adds StaticArray first, unsafe-first, last & unsafe-last 2020-05-04 09:35:39 +01:00
Tim Dévé
b87fd0911c Adds StaticArray find & find-index 2020-05-04 09:35:39 +01:00
Tim Dévé
ce3f53518f Adds StaticArray empty? any? & all? 2020-05-04 09:35:39 +01:00
Tim Deve
85abcbbf0a Adds Array.from-static function 2020-05-04 09:35:37 +01:00
hellerve
425cc96c2e docs: update for primitives 2020-05-04 00:16:26 +02:00