Commit Graph

618 Commits (78f9fe9053a4fb81738e3f7335a56344f17103d9)

Author SHA1 Message Date
Björn Lindqvist ffc441ad63 VM: looks like ERROR_C_STRING is never thrown, so it can be removed 2015-09-29 23:12:56 +02:00
John Benediktsson 399d01f56e strings.parser: finish removing triple-strings.
parse-string => parse-short-string (on the same line)
parse-multiline-string-until => parse-full-string
2015-08-17 19:49:12 -07:00
John Benediktsson ceb75057da change ERROR: words from throw-foo back to foo. 2015-08-13 16:13:05 -07:00
John Benediktsson 0e1169ceab alien.libraries: try out throw-foo. 2015-08-13 06:52:06 -07:00
Doug Coleman b6be8685c3 basis: ERROR: changes. 2015-08-13 03:20:39 -07:00
Doug Coleman e3ddd337e0 compiler, alien: fix some duplication in ERROR: definitions. hope this doesnt trigger more failing builds than it fixed... 2015-08-12 13:58:38 -05:00
Doug Coleman 43fb73fae6 factor: Rename I[ ]I to [I I]. Fix places where we do "string"token without whitespace. 2015-08-06 17:05:12 -05:00
John Benediktsson 0fbd2fd472 alien.libraries: don't need << >>. 2015-07-28 19:13:13 -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 2f6548d6d2 factor: fix breakage with word renamings. 2015-07-20 05:51:16 -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 14ba179254 factor: change FUNCTION: and similar to not have trailing ; 2015-07-19 16:24:47 -07:00
John Benediktsson c5e4bb4980 alien.parser: change scan-c-args to always use ";" as end-marker in preparation for maybe removing it later. 2015-07-19 15:08:56 -07:00
Doug Coleman 2c257f399c factor: Rename MACRO: and MACRO: to have quot as the output in stack effects. 2015-07-18 22:16:11 -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
John Benediktsson 4c2c8f133f vm: rename some primitives, and some cleanup.
* quot-compiled? => quotation-compiled?
* optimized? => word-optimized?
2015-07-15 11:13:52 -07:00
Doug Coleman 892c62e1dc factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test 2015-07-03 09:39:59 -07:00
Doug Coleman 0124e630f0 alien.parser: add a couple of commas 2015-07-02 17:29:12 -07:00
Doug Coleman 43d6f1d3e2 factor: Retrying on the unit tests. Also normalize some syntax with FUNCTION:. 2015-07-02 17:28:17 -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 e3cb325040 factor: clean up whitespace in -docs files 2015-07-02 10:31:22 -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
Doug Coleman 44e8e7b344 primitives: Change PRIMITIVE: to check that the word is in that vocabulary and the stack effect is correct.
Use PRIMITIVE: in core/ and basis/
2015-06-25 18:02:03 -07:00
Doug Coleman 5908f301b9 alien.libraries: Add update-library. See #1185 2015-06-16 19:56:34 -07:00
John Benediktsson aa00d59d59 words: rename reset-props to remove-word-props. 2015-06-09 11:53:46 -07:00
Doug Coleman 6e60c811ac core: Rename create to create-word, create-in to create-word-in. 2015-06-08 12:47:35 -07:00
Doug Coleman 20a1c09a42 alien.libraries.finder: Allow library to match just by name. Related to #1099.
Add some more unit tests. Fix a typo fidner->finder.
2015-06-05 17:05:57 -07:00
John Benediktsson b366a06c41 use reject instead of [ ... not ] filter. 2015-05-12 18:50:34 -07:00
Doug Coleman 857e60db5b alien.libraries: Cannot include alien.libraries.finder here for docs. 2015-02-13 11:31:56 -08:00
Benjamin Pollack e6fecadb04 Explicitly reference find-library in alien docs
Factor 0.98 added a great find-library library, but unless you already know it
exists, you're probably not going to discover it.  This attempts to help with
that by adding a few cross-references with the add-library word and the main
alien article.
2015-02-11 17:38:44 -08:00
John Benediktsson 56b95b09a1 alien.c-types: move definitions of stdint.h from unix.types. 2014-12-23 19:40:21 -08:00
John Benediktsson 49afa5b3ed basis: cleanup more usings. 2014-11-29 20:10:37 -08:00
Doug Coleman 5c8c76cc22 alien.syntax: We have to include alien.arrays somewhere before libc loads. 2014-11-17 09:44:21 -08:00
John Benediktsson 74058d3dff alien: cleanup using. 2014-11-16 20:31:32 -08:00
John Benediktsson d6b6f3893d basis/extra: switch to "vocab." os name>> append require. 2014-11-13 13:00:44 -08:00
Doug Coleman 964cbf894b core/basis: Trim or reorganize a few using lists. Playing around with auto-use restarts and private words. 2014-10-27 13:39:30 -07:00
Doug Coleman d578ca7959 alien.libraries.finder: How many patches does it take... I was dropping the wrong value from map-find. 2014-07-08 11:58:34 -07:00
Doug Coleman ee08a436fd alien.libraries.finder: map-find was what I wanted all along. 2014-07-08 13:13:41 -05:00
Doug Coleman 1e8655c5c0 alien.libraries.finder: More robust finder code that doesn't return f to a
string slot and error out. Use it in yaml.ffi.
2014-07-08 12:40:33 -05:00
Doug Coleman 77f806d6c5 alien.libraries.finder: Add find-library-from-list utility word. 2014-07-08 12:21:50 -05:00
Doug Coleman a8b78071ff alien.libraries.finder.windows: Better fix for finding the right library path. 2014-07-07 23:34:10 -07:00
Doug Coleman 9bbf0af6e8 Revert "alien.libraries: Normalize the path before opening a dll since"
This reverts commit 05aabb13f4.
2014-07-07 23:31:59 -07:00
Doug Coleman 05aabb13f4 alien.libraries: Normalize the path before opening a dll since
find-library can return paths that have "resource:" in them.
2014-07-08 01:12:44 -05:00
Doug Coleman bcd7c743a2 alien.c-types: Looks like ffi_test_59 found a bug after all. Add comments because it's confusing on small screens. 2014-07-07 20:47:40 -07:00
Doug Coleman 908bfa2db6 alien.c-types: Ugh. There are self-similar lines of code, got confused. 2014-07-07 20:28:27 -07:00
Doug Coleman 05ef13fff4 alien.c-types: Revert previous changes to 64 bit boxing/unboxing. Seems to work. See #1062. 2014-07-07 17:25:28 -07:00
Doug Coleman 608c23ad8f alien.c-types: longlong was calling to_fixnum instead of to_signed_8. 2014-07-07 16:26:05 -07:00
Doug Coleman 5d44509720 alien.libraries.finder.linux: Trim blanks off the arch names. 2014-07-03 21:30:15 +00:00