Commit Graph

106 Commits (c8d63c56a9d53ffa1bf34e67a492e7d6f0369307)

Author SHA1 Message Date
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
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
John Benediktsson 708dc35965 db.sqlite: use temporary test.db for tests. 2016-11-08 09:32:45 -08: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 9c9764cc2d db.(sqlite.)errors: add sql-index-exists error 2016-06-29 14:17:57 -07:00
Alexander Iljin ca19a01c1b db.sqlite.errors: simplify implementation 2016-06-29 14:17:57 -07:00
John Benediktsson 2269b07d33 use with-temp-file and with-temp-directory in some tests. 2016-04-04 10:33:03 -07:00
John Benediktsson 498285d7dd unicode: make this the API for all unicode things. 2016-03-30 23:29:48 -07:00
John Benediktsson 6ec952c436 db.errors: move to db.{postgresql,sqlite}.errors. 2016-03-22 12:44:50 -07:00
John Benediktsson e477f6996f Fix comments to be ! not #!. 2015-09-08 16:15:10 -07:00
John Benediktsson ceb75057da change ERROR: words from throw-foo back to foo. 2015-08-13 16:13:05 -07:00
Doug Coleman b6be8685c3 basis: ERROR: changes. 2015-08-13 03:20:39 -07:00
Doug Coleman eeb7cf508f db.sqlite: fix ERROR: 2015-08-13 00:18:29 -07:00
Doug Coleman 1fcf96cada factor: remove """ string syntax for now. there are HEREDOC:, STRING:, escaping \", and something else soon. 2015-07-25 22:59:56 -07:00
Doug Coleman 0176591527 factor: actual patch to remove ; from all c/fortran functions 2015-07-19 16:25:30 -07:00
Doug Coleman 4ec2311406 factor: Trim whitespace after ! comments and a few USING: lines that got skipped before. 2015-07-18 20:14:22 -07:00
Doug Coleman 892c62e1dc factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test 2015-07-03 09:39:59 -07:00
Doug Coleman 59f3b1ea57 Revert "factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!"
Needs a bit more work.

This reverts commit 7e54cc2824.
2015-07-02 13:47:06 -07:00
Doug Coleman 7e54cc2824 factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool! 2015-07-02 11:36:08 -07:00
Doug Coleman 999aa7c897 factor: clean up spaces in -tests files 2015-07-02 10:34:01 -07:00
Doug Coleman 352e5de16a core, basis, extra: Remove DOS line endings from files.
Remove whitespace from end of lines.
Add a newline to the end of each file.
2015-06-29 17:25:40 -07:00
John Benediktsson 7e4d1178c3 interpolate: don't break backwards compatibility. 2015-04-18 20:22:29 -07:00
John Benediktsson c5ed2c89fe interpolate: some fixes for recent API change. 2015-04-18 19:36:49 -07:00
John Benediktsson de179243ce basis/extra: cleanup uses of add-library. 2014-11-13 13:05:14 -08:00
John Benediktsson 3a0c04340e Revert "alien.libraries.finder: using find-library for some often missing libs"
This reverts commit a6b3f50e2c.

Conflicts:
	basis/gtk/ffi/ffi.factor
2014-11-13 09:33:30 -08:00
Björn Lindqvist a6b3f50e2c alien.libraries.finder: using find-library for some often missing libs 2014-06-07 11:48:05 -07:00
Doug Coleman 5759f72745 db, db.sqlite: If we are in a transaction, don't start another transaction. Add a unit test. Fixes #631. Fixes #623. 2013-03-29 17:33:54 -07:00
Doug Coleman 8b51ddcbe2 sqlite: Fix using. 2012-08-26 11:57:24 -07:00
Doug Coleman 22178a9475 db.sqlite: Fix using. 2012-08-26 01:20:06 -07:00
Doug Coleman bf4d4f73a2 db.sqlite: Append layouts:cell to sqlite file test db name. Fixes #647. 2012-08-26 00:09:31 -07:00
Joe Groff 943596575a use radix literals 2011-11-23 19:03:40 -08:00
Doug Coleman bf2a96e9e0 Remove Windows CE from core/ basis/ and build-support/
Rename the winnt singleton to windows in core/ basis/ extra/
Rename boot images winnt -> windows
Fixes #84.
2011-09-18 23:19:06 -05:00
John Benediktsson 604f242862 db.sqlite: update word documentation. 2011-03-07 15:06:28 -08:00
John Benediktsson 6c4ba923ae db.sqlite.lib: fixing sqlite-row word. 2010-08-13 14:23:05 -07:00
Slava Pestov 446ee6896d alien.data: remove second quotation parameter from with-out-parameters, now all values are copied properly and calling 'clone' on structs in this quotation is not necessary 2010-07-16 17:32:05 -04:00
Slava Pestov 70a99e1cdb Updating code to use with-out-parameters 2010-05-23 03:07:47 -04:00
Joe Groff 5f71d2bb18 db.sqlite.ffi: remove leftover stack effects from converted FUNCTION-ALIAS:es 2010-04-15 11:27:33 -07:00
Joe Groff 343856307e db.sqlite.ffi: use FUNCTION-ALIAS: 2010-04-14 21:58:52 -07:00
Joe Groff 65c3259761 "cdecl" -> cdecl 2010-03-31 19:20:35 -07:00
Joe Groff 4cfa1a6c77 rename current string-mangling "char*" to "c-string". char* is now just a boring old pointer to char 2010-02-23 11:42:02 -08:00
Joe Groff 33f1a7b03b db.sqlite.ffi: replace some TYPEDEF: void* foo* with C-TYPE: foo 2010-02-22 19:36:14 -08:00
Slava Pestov 7846074b3b db: update for ERROR: change 2010-02-03 23:11:31 +13:00
Slava Pestov 0612bc6177 Factor source files should not be executable 2009-11-21 17:50:43 -06:00