John Benediktsson
41db42a571
Revert "io.encodings.utf16: add a utf16n word for native utf16 type."
...
This reverts commit ad24fa414f
.
2019-08-06 07:12:55 -07:00
John Benediktsson
ad24fa414f
io.encodings.utf16: add a utf16n word for native utf16 type.
...
remove io.encodings.utf16n vocabulary, which was kind of single purpose.
update a bunch of vocab usings.
2019-08-05 13:08:09 -07:00
Alexander Iljin
0007789795
continuations[-docs]: add the finally word
2019-04-22 21:57:51 -07:00
Alexander Iljin
0637557cca
*-docs: remove extra space character at the end of paragraghs
2018-08-21 10:45:52 -07:00
Doug Coleman
4b614cc15b
factor: Make source files/resources 644 instead of 755.
2018-07-13 20:36:50 -05:00
Doug Coleman
4e9d383fe5
docs: Fix help-lint-all mistakes.
2018-07-07 01:13:19 -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
John Benediktsson
7c5496085e
alien.strings: remove latin1 dependency.
2018-02-28 08:58:30 -08:00
John Benediktsson
0ab7ed6979
io.encodings: use new latin1 instead of 8-bit encoding from file.
2018-02-28 08:56:01 -08:00
John Benediktsson
85b69b5b49
io.encodings.8-bit: more encodings, and reduce hierarchy.
2018-02-26 10:21:35 -08:00
John Benediktsson
ca03896d74
more test IN: cleanup.
2018-02-15 09:20:01 -08: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
7c7bb93c55
factor: Rename GENERIC# to GENERIC#:.
...
Fixes #1670 .
2017-06-01 13:58:58 -05:00
Alexander Iljin
cecbd6c602
alien-docs: fix wording
2017-03-17 08:22:18 -07:00
John Benediktsson
e01c57628e
Revert "alien.strings: change how string>{cpu,os} works."
...
This reverts commit 84fe3deff8
.
Probably doesn't work with deployed images that have stripped
word names, where name>> would return f.
2016-11-02 07:34:38 -07:00
John Benediktsson
84fe3deff8
alien.strings: change how string>{cpu,os} works.
2016-11-01 20:21:12 -07:00
Björn Lindqvist
ddc5ece757
alien.*: frontend varargs support! #1677
...
alien-invoke gets an extra parameter indicating if the call uses varargs
or not. In 99.9% of the cases, the parameter should be f, but is t if
varargs are indicated. E.g
: do-printf ( fmt d -- st ) int f "printf" { c-string double } t alien-invoke ;
2016-08-10 21:34:37 +02:00
Björn Lindqvist
dee9cf0a70
alien: replacing the alien-*-error family of errors with callsite-not-compiled
...
All the errors did the same thing anyway. Also adding a summary method
to it.
2016-08-04 11:51:59 +02:00
Doug Coleman
c133c16377
core: Trim using lists from -tests and clean up a few irregularities.
2016-03-30 18:43:41 -07:00
John Benediktsson
1721f9e314
fix some tests for the sets:set change.
2016-03-29 20:43:46 -07:00
Björn Lindqvist
db4c4665f3
Docs: doc updates
2016-03-13 07:37:20 +01:00
Björn Lindqvist
74cb1acd17
Docs: more docs for vocabs in core/
2015-12-05 16:34:46 +01:00
John Benediktsson
7d4964c136
alien.strings: remove (symbol>string) helper word.
2015-08-15 16:13:46 -07:00
John Benediktsson
ceb75057da
change ERROR: words from throw-foo back to foo.
2015-08-13 16:13:05 -07:00
Doug Coleman
02008979d9
factor: Change ERROR: foo ; to define ``throw-foo`` instead of having ``foo`` throw implicitly. The old ``foo`` still throws implicitly because this is a big change to get right in one patch, but it should be removed soon.
2015-08-12 15:26:18 -05:00
Doug Coleman
e0d1b14e5c
factor: don't need FROM: namespaces => set or namespaces:set anymore
2015-08-12 11:25:57 -05: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
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
John Benediktsson
296968580a
use assoc-reject instead of [ ... not ] assoc-filter.
2015-05-12 19:08:42 -07:00
John Benediktsson
c0c54d8919
alien.strings: simpler fast-string? check.
2015-04-20 10:38:36 -07:00
John Benediktsson
a65a293896
core: use if* in a couple places.
2014-11-29 16:03:50 -08:00
Björn Lindqvist
990af22dc6
VM: renamed version and git-label to vm-version and vm-git-label.
2014-11-10 23:02:13 -08:00
Björn Lindqvist
090f4fddd5
VM: Three new special objects added to keep track of the builds version number, git label and compilation time respectively. The info is exposed in the system:version-info word and also shown in the banner during startup.
...
Conflicts:
Nmakefile
basis/ui/tools/listener/listener.factor
core/alien/strings/strings.factor
2014-11-10 23:01:52 -08:00
Doug Coleman
83241491c3
core: On Windows we depend on having io.strreams.byte-array for utf16
...
support. Include this in the boot image instead of alien.strings.
2014-11-01 11:34:52 -07:00
Doug Coleman
e6dac7f0e3
alien.strings: Dependency on io.streams.byte-array. Clean this up somehow?
2014-10-31 19:15:29 -07: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
Björn Lindqvist
65e460cf57
alien.tests: fix the test cases so they dont leak, and new tc for with-callback
2014-10-22 07:02:55 -07:00
Björn Lindqvist
aad8d4b8d6
alien,stack-checker.alien: new word with-callback
...
Since callbacks aren't automatically deallocated this word intends to
make sure "inline" callbacks are.
2014-10-22 07:02:55 -07:00
Björn Lindqvist
5cf8c7cfba
alien,stack-checker.alien: move callback-destructor to the alien vocab
...
It can't be placed in stack-checker.alien because that vocab isn't
included in deployed images which lead to weird errors when the
destructors trigger.
2014-09-29 07:30:22 -07:00
Björn Lindqvist
3f65984055
stack-checker.alien: use free-callback as a destructor when creating
...
callbacks
+ tests proving it works. now in case you create temporary callbacks you
can enclose them in with-destructors and it will just work(tm).
2014-09-29 07:30:21 -07:00
Björn Lindqvist
8fb317b721
alien: a test and docs for free-callback
2014-09-29 07:30:21 -07:00
Doug Coleman
26a8cbbab4
alien.strings: Actually return a string instead of an array of strings in
...
M\ array symbol>string. Fixes #1098 .
2014-07-08 13:51:02 -05:00
John Benediktsson
57f9d78892
improve help by linking to types directly.
2014-05-23 20:20:15 -07:00
John Benediktsson
ff46966cfb
alien.strings: faster string>alien for common cases.
2014-05-20 11:53:36 -07:00
Doug Coleman
5a9e7cd374
classes.builtin: Add the BUILTIN: keyword which lets builtin classes show up in source files. Probably could use save-location to allow editing, but it seemed to break things.
2013-03-10 12:05:38 -07:00
John Benediktsson
5487480126
core: cleanup USING lists.
2013-03-05 10:34:47 -08:00
Doug Coleman
8295292855
alien: Clarify alien-assembly docs.
2012-09-20 18:25:53 -07:00
Doug Coleman
c95fd04040
alien: Fix docs.
2012-09-19 09:02:28 -07:00