Commit Graph

482 Commits (8c223d40736c3150771cc8b0bda59d4aa873d628)

Author SHA1 Message Date
John Benediktsson b40ba26bac basis/extra: removing '[ @ ] in favor of _ for fried quotations. 2018-01-19 23:40:23 -08:00
Alexander Iljin c457c019bb stack-checker.backend-docs: fix help on ensure-d (issue #1854) 2017-08-27 13:06:14 +03: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 32710df620 core/basis: Rename tuples kernel:curry -> curried, kernel:compose -> composed.
Also rename the stack-checker curried -> curried-effect, composed -> composed-effect.
2017-06-02 17:39:20 -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
Björn Lindqvist 4d580d95bf stack-checker.backend: no need to add extra dependencies on wrappers
This makes it so that if you declare a symbol it won't have an effect
dependency on itself.
2016-12-31 11:41:29 +01:00
Björn Lindqvist aa5334420c stack-checker.dependencies: moving the add-depends-on-class word + new docs 2016-12-09 11:28:18 +01:00
Björn Lindqvist 5c7627a777 stack-checker.dependencies: removing the add-depends-on-<blah> words 2016-12-03 15:50:55 +01:00
Björn Lindqvist b42668ebeb compiler,stack-checker.dependencies: init-dependencies isn't needed 2016-11-30 07:29:10 +01:00
John Benediktsson ae09790c7c stack-checker.dependencies: +definition+ can't use $class-description.
Also, placeholders for +effect+ and +conditional+.
2016-11-28 09:38:44 -08:00
Björn Lindqvist e842e41f49 stack-checker.dependencies: docs 2016-11-28 02:04:28 +01:00
Björn Lindqvist 14e8688112 stack-checker.dependencies: changes the names of the dependency constants
Now named using the +blah+ convention which we're using elsewhere for
symbolic constants.
2016-11-28 02:04:28 +01:00
Björn Lindqvist 56079afcfb Revert "bootstrap: trying to undo changes from"
This reverts commit 7b3fb61ebd.
2016-11-13 00:22:21 +01:00
Björn Lindqvist 7b3fb61ebd bootstrap: trying to undo changes from
a915d3bdb4 (#1513)

A lot of changes that built upon those changes had to be undone too. New
boot images is required.
2016-11-12 01:54:57 +01:00
Björn Lindqvist 916bb1678a stack-checker.*: doc updates 2016-09-01 02:24:54 +02: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 24a02a1c8f compiler.*: Backend implementation of varargs
It is turned off by default. Support for using it coming soon. :)
2016-08-08 12:02:19 +02:00
Björn Lindqvist 120807c827 stack-checker.*: infer doesn't need to be generic 2016-08-06 19:04:41 +02:00
Björn Lindqvist 0c7b871de7 stack-checker.alien: new word stack-shape which replaces alien-inputs/outputs 2016-08-06 19:00:23 +02:00
Björn Lindqvist a79309680c compiler.*, stack-checker.*: fixes to make the tests work on 32bit too 2016-08-05 16:44:19 +02:00
Björn Lindqvist b43221770c stack-checker.*: new tests 2016-08-04 20:30:58 +02:00
Björn Lindqvist e67745aaba stack-checker.*: removes the in-d and out-d slots from the alien-node-params tuple
That data is already on the #alien-node tuple so it doesn't need to be
stored twice.
2016-08-04 20:30:58 +02:00
Björn Lindqvist 8d982780f5 stack-checker.*: change pop-literal stack effect to ( -- obj )
The rstate return value is never used so we can remove it
2016-08-04 20:30:58 +02:00
Björn Lindqvist 875357c1bf stack-checker.*: init-known-values word not needed 2016-08-04 20:30:58 +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
Alexander Iljin 1e0bf40b7f docs: minor fixes and amendments. 2016-05-22 07:53:21 -07:00
John Benediktsson 331483ab98 classes.algebra: removing valid-classoid? (enforced in constructors). 2016-04-13 14:29:24 -07:00
Björn Lindqvist 39d0177ddd bootstrap.image.primitives: attempt 2 at putting all primitives in this vocab
See ca82929ffb. This time it should work
because the USING: list is not updated!
2016-03-31 03:32:34 +02:00
John Benediktsson ca82929ffb Revert "bootstrap.image.primitives: make more primitives properties be declared here"
This reverts commit 80f30119c0.
2016-03-30 11:53:38 -07:00
Björn Lindqvist 80f30119c0 bootstrap.image.primitives: make more primitives properties be declared here
This commit merges the input/output-classes and flush/foldable
declarations from stack-checker.known-words to this vocab. This should
make adding primitives a little simpler (#1134).
2016-03-30 18:59:10 +02:00
John Benediktsson 71ef8a22c2 disambiguate namespaces:set and sets:set. 2016-03-29 17:14:42 -07:00
John Benediktsson 7038e8a55e stack-checker: a little cleanup. 2016-03-27 10:01:56 -07:00
John Benediktsson 292e95f867 stack-checker.known-words: simpler infer-ndip and infer-builder. 2016-03-26 18:37:25 -07:00
Doug Coleman d3bc2035a2 factor: remove rest of double paren words. 2016-03-25 03:13:27 -07:00
Björn Lindqvist bce3a88287 stack-checker.known-words: fix input class declaration for <string>
it should be { integer-array-capacity integer } ofcourse
2016-03-19 18:59:19 +01:00
Björn Lindqvist 6f9ff8813e compiler.*, stack-checker.known-words: adds the integer-array-capacity
This commit adds the integer-array-capacity declaration on a few
words. It should make loopy code compile faster and fix #1339
2016-03-18 20:46:41 +01:00
Jon Harper 19fadb6c96 prettyprinter, locale independant float printing 2016-03-08 07:55:25 -08:00
Björn Lindqvist a915d3bdb4 stack-checker.known-words: nicer stack-effect declaration code
I think it looks better to put the primitives in groups and declare them
that way than one big block.
2015-11-15 11:10:03 +01:00
John Benediktsson b644afb019 stack-checker.inlining: fix help-lint. 2015-09-23 17:10:43 -07:00
Björn Lindqvist c5b92cedcb compiler.*: even more compiler docs 2015-09-22 08:52:59 +02:00
John Benediktsson e477f6996f Fix comments to be ! not #!. 2015-09-08 16:15:10 -07:00
Björn Lindqvist cee0b19324 VM: the ffi-signal-handler and ffi-leaf-signal-handler primitives are unused 2015-09-02 21:54:15 +02:00
Björn Lindqvist 59b7a50567 VM: removing the get_datastack/retainstack/callstack primitives
they can all be implemented using the
datastack/retainstack/callstack-for primitives and the less primitives
the better!
2015-08-23 18:36:30 -07:00
John Benediktsson ceb75057da change ERROR: words from throw-foo back to foo. 2015-08-13 16:13:05 -07:00
Doug Coleman dc71bd4caa stack-checker: old bug, float>fixnum was not foldable!! 2015-08-13 14:47:01 -07:00
Doug Coleman c21a154056 core: callstack is a builtin type and a class name. rename the *stack words that grab the current stack get-foostack to avoid the callstack builtin conflict and for better symmetry with set-foostack. 2015-08-13 10:11:59 -07:00
Doug Coleman b6be8685c3 basis: ERROR: changes. 2015-08-13 03:20:39 -07: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 330c7ba156 factor: Removing SLOT: nth/at/global in favor of using change: at for tuple slots named ``at`` and change-at for hashtables.
Redo many FROM: and QUALIFIED: and using lists.
2015-08-12 08:49:02 -05:00
Doug Coleman 00338f62f3 factor: put inline on same line as ; for experimentation 2015-08-10 12:55:27 -05:00