Alexander Iljin
0007789795
continuations[-docs]: add the finally word
2019-04-22 21:57:51 -07:00
Doug Coleman
33a1b7625e
cuda.demos.hello-world: We need a byte-array from map-index.
2018-06-23 10:51:38 -05: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
504c9959a1
Update some copyright headers to follow the current convention
...
Had to look through the history to find years for some headers. Added
authors to some files as well.
2017-09-11 15:43:03 -07:00
Doug Coleman
12816f4d4e
cuda: Allow memory to report as >4gb.
2017-08-25 19:53:13 +00:00
Doug Coleman
b3ba829601
cuda.devices: Utility word to print all cuda devices.
2017-06-03 20:59:51 -05: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
0055f3c616
factor: remove some extra whitespace.
2016-04-07 14:30:36 -07:00
John Benediktsson
48f57fee4f
cuda: adding prettyprint for cuda functions.
2016-04-07 07:26:23 -07:00
John Benediktsson
6581741a92
cuda: use arg names in stack effect.
2016-04-06 13:11:32 -07:00
John Benediktsson
ceb75057da
change ERROR: words from throw-foo back to foo.
2015-08-13 16:13:05 -07:00
Doug Coleman
66147f27b4
extra: use throw-foo for ERROR: change
2015-08-13 01:56:32 -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
b4198dbee6
cuda: fix CUDA-LIBRARY: to take a proper path that could have spaces in it
2015-07-21 17:33:14 -07:00
Doug Coleman
429ecc9811
roles: TUPLE: -> ROLES-TUPLE: for now
2015-07-21 17:33:13 -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
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
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
Doug Coleman
6e60c811ac
core: Rename create to create-word, create-in to create-word-in.
2015-06-08 12:47:35 -07:00
John Benediktsson
0ba693b3fa
cuda.memory: use binary-object.
2014-11-20 18:41:19 -08:00
John Benediktsson
760126525b
basis/extra: fix using for map-index move back to sequences.
2014-11-11 18:00:44 -08:00
Doug Coleman
7cfa9d9518
assocs: Make map-index-as support seq or assoc exemplars and move map-index, map-index-as to assocs because they need to use new-assoc. Make zip-index-as support assoc exemplars. Fix up docs and tests.
...
assocs.extras: Remove zip-as and move tests to assocs.
2014-11-08 18:18:00 -08:00
John Benediktsson
49d3338c70
cuda: use ERROR:.
2013-03-24 14:24:21 -07:00
Doug Coleman
c8e4fc08e9
cuda: Rename cuda-error.
2013-03-24 10:11:16 -07:00
John Benediktsson
e74f770b57
Use bl in more places.
2013-03-14 19:24:00 -07:00
Doug Coleman
3507b9bad7
classes:
...
- Allow methods to dispatch off union{ } and intersection{ } classes.
- Add not{ } anonymous-complement syntax.
- Define class-name for anonymous-union/intersection/complement and maybes, and clean up pprint.
- Change maybe: foo to maybe{ foo }
- Call sort-classes when making anonymous-union/anonymous-intersection classes so that they are canonicalized.
2012-05-03 19:45:30 -07:00
Joe Groff
943596575a
use radix literals
2011-11-23 19:03:40 -08:00
Doug Coleman
067f9830ef
classes.union: Define a maybe: word that makes a tuple that acts as an anonymous union for a type and f. Updated all the places we define UNION: ?foo foo POSTPONE: f ;. Fixes #416 and lots of headaches.
2011-11-22 01:56:13 -08:00
Doug Coleman
0d059e0f19
Found a few more places to use lookup-c-type
2011-10-24 15:58:40 -07:00
John Benediktsson
80e1c8e3f2
Eliminate duplicate syntax for stack effects "(" no longer drops and is identical to the old "((", which is now removed.
2011-10-18 13:19:39 -07:00
Doug Coleman
76580da5d5
Refactor the lexer/parser to expose friendlier words for scanning tokens. The preferred top-level words now throw an exception on EOF.
...
CREATE -> scan-new
CREATE-CLASS -> scan-new-class
CREATE-WORD -> scan-new-word
CREATE-GENERIC -> scan-new-generic
scan -> (scan-token)
scan-token now throws on eof
(scan-word) returns word/number/f
scan-word now throws on eof
scan-word-name expects a non-number
Fixes #183 .
Fixes #209 .
2011-09-29 11:28:28 -07:00
Slava Pestov
75560699ea
Move <ref>, deref and little-endian? from alien.c-types to alien.data, remove <c-object>
2010-12-25 16:55:36 -08:00
Doug Coleman
67c37591ca
Remove <uint> *uint and friends. Hopefully remove the last usages of these words
2010-10-25 15:54:42 -05:00
Doug Coleman
4ca9bd0bba
Remove usages of <void*> and *void*
2010-10-25 13:22:50 -05:00
Doug Coleman
1f57dc326e
Remove many uses of <int> and *int etc
2010-10-25 12:49:12 -05:00
Joe Groff
bbe156f3de
cuda.gl: with-mapped-cuda-buffer helper word
2010-05-25 00:37:15 -07:00
Joe Groff
ee995b4770
cuda.gl: cuda-buffer helper object that pairs a buffer with its attached CUDA resource
2010-05-24 22:57:25 -07:00
Joe Groff
9fccc38994
cuda.contexts, cuda.gl: factor out set-up-cuda-context and clean-up-cuda-context so they can be used by objects that own a cuda context (separate from with-cuda-context)
2010-05-24 22:13:15 -07:00
Joe Groff
ff748b5c9f
cuda.libraries: make grid tuple read-only, grid-dim/block-dim foldable, and CUDA-FUNCTION: words inline so that kernel call sites can optimize
2010-05-20 18:10:17 -07:00
Joe Groff
2ad382865e
cuda.libraries, cuda.syntax: support for both 32- and 64-bit CUDA pointer abis. make CUDA-LIBRARY: read the abi as part of the library definition
2010-05-20 17:56:45 -07:00
Joe Groff
0d04406a41
cuda.libraries: rework parameter passing to fill entire parameter space in one API call
2010-05-20 17:23:47 -07:00
Joe Groff
ca1426096a
cuda.libraries: scrape out some useless code
2010-05-20 15:57:23 -07:00
Joe Groff
efe7e94a07
cuda.libraries, cuda.syntax: factor generated CUDA-FUNCTION: word bodies into a "cuda-invoke" macro; add CUDA-GLOBAL: for referencing global symbols
2010-05-20 15:45:35 -07:00
Joe Groff
f0a7f039bd
cuda.libraries: rename "function-launcher" to "grid", 2<<< to <grid>, 3<<< to <grid-shared>, 4<<< to <grid-shared-stream>
2010-05-20 14:59:27 -07:00
Joe Groff
1a3fd1dc8c
improve cuda library organization
2010-05-20 14:40:26 -07:00