Commit Graph

383 Commits (ada064d9c3d0216c625624387a44234e5ad6ea9f)

Author SHA1 Message Date
Doug Coleman 50cf54ddde basis: Move signal word and fix tests. 2019-09-27 22:59:36 -05:00
Doug Coleman 4faab8a00f basis: Fix bootstrap to display unix signals instead of "Error in print-error!" 2019-09-27 17:17:56 -05:00
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
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 aa87e69d25 Revert "VM: removing the unused callstack-bounds primitive"
This reverts commit c55a6ef873.

This primitive is useful for fixing the macOS pthread bug and the javascriptcore library.
2018-06-03 22:12:28 -05:00
Doug Coleman 034337fd02 factor: latest -> master 2017-12-09 01:56:12 -06:00
Doug Coleman f96f6d787e bootstrap.image.upload: Downloads moved. 2017-12-09 00:25:17 -06:00
Doug Coleman 081b642dee bootstrap.image.upload: Upload images per-branch. 2017-08-31 21:06:17 -05:00
Björn Lindqvist 9103d1546f basis/: more docs 2017-07-09 15:08:49 +02:00
Doug Coleman 7a703658f1 sequences: Remove start for real in favor of subseq-start.
Update a usage of start that was masked by the ALIAS:

Compatibility/migration is a .99 feature.
2017-06-02 17:41:10 -05: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
Björn Lindqvist d73666b9d0 VM: the unimplemented error isn't used anymore
Cause all the primitives are implemented so it can never ever be
thrown. Probably requires new boot images.
2016-11-23 10:24:52 +01:00
Björn Lindqvist c55a6ef873 VM: removing the unused callstack-bounds primitive
Probably needs new boot images
2016-11-21 22:30:20 +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
Alexander Iljin 0245a93bee VM: add enable-ctrl-break and disable-ctrl-break primitives
These are for the Listener to wrap around user-supplied quotations. Nesting
is not supported at the moment.
2016-11-01 16:53:00 -07:00
Björn Lindqvist b31c0b8857 Docs: bunch of random doc updates 2016-10-31 11:46:39 +01:00
Björn Lindqvist 32825b9f5f bootstrap.image.primitives: array>quotation can't be foldable 2016-10-09 00:47:37 +02:00
Björn Lindqvist 88b2ed482c math.parser: (format-float) can only be flushable 2016-10-09 00:47:37 +02:00
Björn Lindqvist 96610a47a8 none: looks like this vocab isn't needed
Because -e="..." already terminates after evaluation so using -run=none
isn't needed.
2016-09-16 15:26:58 +02:00
Björn Lindqvist 6cced7dcbf bootstrap.stage2: deploy-vocab is never set when running the stage2 process 2016-09-16 14:54:04 +02:00
Björn Lindqvist 1e96eec669 bootstrap.image: making it so special-objects isn't a global 2016-09-14 15:48:35 +02:00
Björn Lindqvist 6a7033fccb bootstrap.image.primitives,tools.profiler.sampling: fixing stack effect 2016-09-01 09:00:01 +02:00
Alexander Iljin 81c6196dc4 bootstrap.image-docs: fix the list of supported architectures
The list now matches the image-names constant.
2016-08-16 18:00:10 -07:00
Björn Lindqvist b418b434fa alien.debugger: this vocab isn't needed
The summary methods doesn't need dedicated vocabs. Unlike prettyprint methods.
2016-08-15 15:16:41 +02:00
Björn Lindqvist 1c94c60541 cpu.*: new generic word enable-cpu-features
The word is used during bootstrap to enable available cpu specific
intrinsics.
2016-08-12 11:41:45 +02:00
Björn Lindqvist 6984bae7ca VM: rename of JIT_PUSH_IMMEDIATE to JIT_PUSH_LITERAL
The code template pushes both immediates and references so the name was
wrong.
2016-06-07 14:54:23 +02:00
Björn Lindqvist 8f2738cd82 bootstrap.x86: using 32 bit regs as operands when it's safe to do so
It shaves off a few bytes as e.g and eax, 0xf is one byte shorter than and rax, 0xf
2016-05-30 02:39:06 +02:00
Björn Lindqvist 0cbd0552b0 bootstrap.image.primitives: resize-byte-array can also use integer-array-capacity 2016-05-24 14:20:46 +02:00
Björn Lindqvist 0fc8fb22ca cpu.x86,bootstrap.assembler.*: making sure 0 is the relocation dummy value everywhere
In some places it was 0xffffffff, but it should always be 0 MOV for
consistency.
2016-05-19 22:43:52 +02:00
Björn Lindqvist 5fabb71404 bootstrap.compiler.timing: "profile-compiler" is never set so this vocab
is unused
2016-05-14 18:21:49 +02:00
Björn Lindqvist 5826394573 VM: the (clear-samples) primitive is unused 2016-05-05 02:33:35 +02:00
John Benediktsson c52b640520 bootstrap.image.upload: use vm-git-id. 2016-04-14 16:59:23 -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
Björn Lindqvist 2a9c95040c bootstrap.image.primitives: the primitive_ prefix is implied
So it can be removed from the big list, making primitive declarations simpler.
2016-03-29 23:52:29 +02:00
Björn Lindqvist eca6dfac15 bootstrap.image.primitives: new vocab to make primitive declarations better 2016-03-29 23:52:29 +02:00
Björn Lindqvist f549283508 bootstrap.assembler.ppc: make ppc also use define-sub-primitives 2016-03-27 17:46:55 +02:00
Björn Lindqvist df3852f54a bootstrap.assembler: new word define-sub-primitives
This way all sub primitives can be declared at once which imo is cleaner.
2016-03-27 17:42:25 +02:00
Doug Coleman 92afdc3ad0 hashtables: rename ((tombstone)) to +tombstone+, ((empty)) to +empty+ 2016-03-25 03:13:27 -07:00
John Benediktsson baae677276 io.files.unique: change to create unique files and directories relative to the current-directory. 2016-03-18 10:57:54 -07:00
John Benediktsson 5f682c18de use the new bytes>hex-string. 2016-03-16 10:13:56 -07:00
Björn Lindqvist b0a201165a bootstrap.image: docs 2016-03-01 17:32:43 +01:00
Björn Lindqvist cbba6bbf95 bootstrap.image.tests: I screwed up the test case values -- fix them 2015-12-14 13:56:35 +01:00
Björn Lindqvist 1378841c95 bootstrap.image.tests: new tests & fix for 32bit test failure 2015-12-14 06:54:12 +01:00
Björn Lindqvist 1a72f731e0 VM: now special-objects is used for -1, 0, 1 and t
The fields in the image_header aren't read or written to but I haven't
changed the format yet.
2015-12-10 10:22:38 +01:00
Björn Lindqvist 339b1b6466 VM: put the singletons t, -1, 0 and 1 in the special objects table
Having them there instead of as fields in the vm struct removes a bunch
of special handling. This commit just adds them and doesn't remove the
old ones to avoid potential chicken-and-egg bootstrap problems.
2015-12-09 21:31:13 +01:00