Alexander Iljin
0007789795
continuations[-docs]: add the finally word
2019-04-22 21:57:51 -07:00
John Benediktsson
f8de0c1caa
db.sqlite: make sure select-tuple throws sql-table-missing etc.
2019-01-03 12:39:37 -08:00
Alexander Iljin
b8daf396e2
db.tuples[{-docs,-tests}]: add reject-tuples
2019-01-01 14:23:40 -06:00
Doug Coleman
4ba2ac3e78
Revert "db.tuples[{-docs,-tests}]: add reject-tuples"
...
This reverts commit 6cae2046b5
.
2018-12-30 22:29:54 -06:00
Alexander Iljin
6cae2046b5
db.tuples[{-docs,-tests}]: add reject-tuples
2018-12-30 20:31:35 -06:00
Alexander Iljin
0637557cca
*-docs: remove extra space character at the end of paragraghs
2018-08-21 10:45:52 -07:00
Doug Coleman
9f213f96f6
core: Add the shuffler words but without primitives.
...
The nipd branch slowed bootstrap by a minute, this patch does not.
sorry about changing the fjsc line endings...
2018-06-19 22:52:58 -05:00
Alexander Iljin
bc3a4ceb9a
db.types-docs: mention the +primary-key+ in the appropriate help section
2018-03-04 21:27:22 +01:00
Alexander Iljin
b197af9446
db.sqlite: support the +primary-key+ modifier
2018-03-04 21:16:15 +01:00
John Benediktsson
3d1fff6572
db.tuples: use natural-sort in test case.
2018-02-22 14:23:22 -08:00
John Benediktsson
d573d44da1
db.tuples: simplify recreate-table.
2018-02-22 10:19:50 -08:00
John Benediktsson
da877c9e47
db.tuples: use recreate-table in tests.
2018-02-22 08:46:39 -08:00
John Benediktsson
a2ded18a0b
db.tuples: fix tests for select-me table not exists.
...
the first time run, the table can't be dropped because it doesn't exist.
2018-02-22 08:26:28 -08:00
Alexander Iljin
0d7fdb92b5
db.tuples-tests: add tests for each-tuple and update-tuples
2018-02-21 15:05:20 -08:00
Alexander Iljin
e3a2cf3a0f
db.tuples[-docs]: update copyright headers
2018-02-21 15:05:20 -08:00
Alexander Iljin
9e13db52a7
db.tuples[-docs]: add update-tuples
2018-02-21 15:05:20 -08:00
Alexander Iljin
16be5d0353
db.tuples[-docs]: add each-tuple
2018-02-21 15:05:20 -08:00
Alexander Iljin
e077aad163
db.{tuples,types}-docs: fix an indefinite article
...
Replace "a SQL" with "an SQL".
2018-02-21 15:05:20 -08:00
John Benediktsson
bd9676e152
core/basis/extra: use none?.
2018-02-14 11:56:31 -08:00
John Benediktsson
df9ddd1ddd
db.sqlite: remove unused "db-table" namespace variable.
2018-02-14 10:40:07 -08:00
John Benediktsson
276534a5e1
db.tuples: simplify count-tuples.
2018-02-14 10:39:55 -08:00
John Benediktsson
efcd5ab98d
db.queries: set the "table-name" inside a with-variables.
2018-02-14 10:39:20 -08:00
John Benediktsson
9a9670c7ce
db.errors: cleanup using.
2018-02-14 10:39:09 -08:00
John Benediktsson
8b71fe04f3
db.tuples: use fry instead of curry, fix stack effect of check-columns.
2018-02-14 09:49:27 -08:00
John Benediktsson
cf137d9976
db.tuples: more efficient with-disposals if sequence passed in.
2018-02-14 09:42:19 -08:00
John Benediktsson
355bd0be77
db.types: simplify filter-ignores.
2018-02-14 09:19:21 -08:00
Alexander Iljin
ef0bf15eb4
db[.tuples|.types]-docs: replace "a SQL" with "an SQL"
2018-01-16 13:40:14 -08:00
Alexander Iljin
49665c546f
db-docs: add a missing space
2018-01-16 13:40:14 -08:00
Alexander Iljin
c9f5757dcd
db-docs: fix the documentation for query-each and query-map
2018-01-16 13:40:14 -08:00
Doug Coleman
15b13870ae
peg.ebnf: Clean up EBNF: syntax.
...
The syntax for an EBNF parser is now ``EBNF: identifier string``. The
inline syntax went from [EBNF ... EBNF] to EBNF[[ ]], EBNF[=[ ]=], etc.
<EBNF looked for a main word, but this functionality is just EBNF[[ ]]
now.
2017-08-05 22:23:57 -05:00
Alexander Iljin
2ffa446f5b
*-docs: replace double spaces with single spaces
...
Code examples and other places where multiple spaces were used to align
text were left intact.
2017-06-05 13:16:07 -07:00
Doug Coleman
e189954ecc
core: Rename iota to <iota> so we can have TUPLE: iota ... ; instead of TUPLE: iota-tuple ... ;
2017-06-02 11:57:05 -05:00
Doug Coleman
7c7bb93c55
factor: Rename GENERIC# to GENERIC#:.
...
Fixes #1670 .
2017-06-01 13:58:58 -05:00
John Benediktsson
3a6eefcc8e
using ignore-errors instead of [ drop ] recover.
2017-02-09 15:50:33 -08:00
John Benediktsson
134be588cf
no need to clone empty byte-array.
2017-01-22 15:41:07 -08:00
John Benediktsson
baaa06278c
Revert "sequences: swap stack arguments for start/start*/subseq?."
...
This reverts commit 63b0593824
.
2017-01-21 07:20:14 -08:00
John Benediktsson
63b0593824
sequences: swap stack arguments for start/start*/subseq?.
...
It is more natural to be ( seq subseq -- ? ).
2017-01-20 22:49:53 -08:00
Björn Lindqvist
b17590db24
calendar.*: replacing hms>timestamp and timestamp>hms with duration variants
...
hms>duration is better because a timestamp without a date is
invalid. This also makes it so the SQL TIME column maps to duration. Now
we can add some validation so that you aren't allowed to create invalid
timestamps.
2017-01-05 12:38:05 +01:00
Björn Lindqvist
2895d5e095
calendar.format: moving parsing words to a new vocab calendar.parser
...
The vocab was getting big so the idea is to have all the time parsing in
calendar.parsing and only keep formatting words in calendar.format.
2017-01-04 08:50:24 +01:00
Alexander Iljin
631707b496
db-docs: remove double period at the end of a sentence
2017-01-02 09:33:02 -08:00
Alexander Iljin
b7e64aed9f
db-docs: add a missing newline to separate groups of items
2017-01-02 09:32:58 -08:00
Björn Lindqvist
e4b961a26e
continuations: new words for ignoring masked errors
...
it comes from the db.errors vocab but seems to be useful in lots of
situations
2016-11-18 23:41:36 +01:00
John Benediktsson
708dc35965
db.sqlite: use temporary test.db for tests.
2016-11-08 09:32:45 -08:00
Björn Lindqvist
b31c0b8857
Docs: bunch of random doc updates
2016-10-31 11:46:39 +01:00
Björn Lindqvist
ebdf57d175
db.sqlite: fix the delete constraint for the restrict case
2016-08-25 13:52:44 +02:00
Björn Lindqvist
66083e263c
db.sqlite: fix text of generated triggers
...
An opening brace was missing for some variables
2016-08-25 13:10:42 +02:00
Alexander Iljin
2fd5654473
Add EOL at EOF for all authors.txt files for consistency
...
In some instances replaced CR/LF with LF.
2016-07-30 09:25:30 -07:00
Doug Coleman
858c9b3a96
db.sqlite: Fix NULL returns for INTEGER columns in sqlite
...
The api for getting integer/double columns from sqlite3 returns a zero, but the value could still be NULL, so an extra api check for the sqlite type is required.
Fixes #1674 .
2016-07-22 08:20:56 -07:00
John Benediktsson
6b12e2e3bc
use ?delete-file instead of [ delete-file ] ignore-errors.
2016-07-10 20:28:46 -07:00
Alexander Iljin
853d470179
db.errors: update ignore-error parameter list to be more self-documented
2016-06-29 14:17:57 -07:00