Commit Graph

1099 Commits (dadff2f062dbb72e66eab24cc6e155b6f56fdff2)

Author SHA1 Message Date
Doug Coleman 8e59246a8b tools.deploy.windows: Windows processes launch from relation to the executable that launches them. Therefore, we need to normalize the path for the "Hello World" binary since it's in the temp directory and not relative to the factor/ directory. 2016-03-29 23:46:34 -07:00
John Benediktsson 71ef8a22c2 disambiguate namespaces:set and sets:set. 2016-03-29 17:14:42 -07:00
John Benediktsson e7a42b1dc4 sets: rename unordered-set back to set. 2016-03-29 15:46:29 -07:00
Doug Coleman 9ed93afe22 tools.deploy.windows: use "resource:" instead of "" for deploy on windows. 2016-03-29 14:43:51 -07:00
Doug Coleman e54ee276c3 tools.deploy.shaker: Fix load error.
images.png: fix load error.
2016-03-29 12:33:30 -07:00
Doug Coleman 01eb69e626 tools.deploy: add using 2016-03-29 10:53:01 -07:00
John Benediktsson 3f18b71d07 cleanup some QUALIFIED: that are no longer needed. 2016-03-29 10:20:16 -07:00
Doug Coleman 41201fd1d1 tools.deploy: Make sure to deploy-test in a temp directory and not the factor/ directory. 2016-03-29 08:44:24 -07:00
John Benediktsson d99f67d5bb tools.test: fix <test-failure> stack effect for file -> path change. 2016-03-29 08:06:56 -07:00
John Benediktsson 1589c0b764 tools.deploy: need to USE: system. 2016-03-29 06:05:05 -07:00
John Benediktsson 7d0c596c92 Hopefully fix stack effects of error hooks to throw when required. 2016-03-28 22:27:35 -07:00
John Benediktsson e2e3b448ee vocabs.metadata: moving os-specific paths to tools.deploy. 2016-03-23 07:44:35 -07:00
John Benediktsson 7f16923ce1 tools.completion: fix help-lint for runs now that it returns slices. 2016-03-22 07:44:28 -07:00
John Benediktsson 6e2726f232 tools.completion: simplify runs which is just monotonic-split. 2016-03-22 07:41:33 -07:00
John Benediktsson 12628c5a95 tools.crossref: change crossref to store uses in hash-set.
Previously it would use a hashtable where the key and value
were both the same.
2016-03-20 20:20:34 -07:00
Doug Coleman 63763caef4 tools.deploy.test.19: case sensitive on linux. 2016-03-17 22:50:13 -07:00
John Benediktsson 0316a04c42 tools.deploy.test.19: make sure to test vocab urls. 2016-03-17 17:00:32 -07:00
Doug Coleman d4b8e44399 license rename: fix the rest of it. 2016-03-17 02:36:34 -07:00
John Benediktsson 497f8cb514 Update tests for LICENSE.txt rename. 2016-03-16 10:13:56 -07:00
Doug Coleman a1e3476617 tools.deploy: increase sizes for linux32 2016-03-08 16:36:45 -08:00
John Benediktsson 7b28949331 tools.deploy: bump size. 2015-12-30 12:49:34 -08:00
John Benediktsson 7e40b60374 tools.deploy: add a MAIN:. 2015-12-25 21:11:21 -08:00
Björn Lindqvist 216a1234c2 tools.test: makes <test-failure> public 2015-12-17 23:50:49 +01:00
John Benediktsson 119f188423 tools.deploy: bump sizes, sigh. 2015-12-14 10:21:52 -08:00
John Benediktsson 6ded345591 tools.deploy: bump deploy test sizes. 2015-12-13 14:25:45 -08:00
John Benediktsson 8cf8f023e2 tools.deploy: bump test sizes. 2015-12-13 09:02:55 -08:00
Björn Lindqvist 4551fdcb28 tools.test: print the callstack in test failures
So when mason reports a test failure it should include the whole
callstack. That should make it easier to catch the "No suitable
arithmetic method" random error that is hard to debug without a
callstack.
2015-12-04 16:57:40 +01:00
John Benediktsson e84e63fd0c tools.deploy: small bump in sizes. 2015-11-23 10:42:49 -08:00
Björn Lindqvist 9b5cb445ee tools.ps.linux: recover from missing file in ps-cmdline, fixes #1120 2015-10-20 16:55:48 +02:00
John Benediktsson 59caf874a3 syntax: removing #! as a comment character.
We don't need two types of comments and shebang (#!) is handled
natively by the lexer, so the original reason for #! is not valid.
2015-09-09 18:28:08 -07:00
John Benediktsson e477f6996f Fix comments to be ! not #!. 2015-09-08 16:15:10 -07:00
John Benediktsson ceb75057da change ERROR: words from throw-foo back to foo. 2015-08-13 16:13:05 -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 9f0a1ed730 cocoa: Syntax is funky, so regularize it by parsing CLASS: ; and METHOD: ; and COCOA-PROTOCOL: token. 2015-08-12 19:44:07 -05: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 46587f8457 factor: arch -> arch-name. fix breakage caused by other patch. 2015-08-12 11:08:24 -05:00
Doug Coleman 28dcd0667a factor: rename set to unordered-set. 2015-08-12 10:54:19 -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
John Benediktsson cbcb724a35 tools.deploy: bump image sizes to get linux-x86-32 builds. 2015-08-06 17:06:34 -07:00
John Benediktsson 2a3427bdff io.files.info: use directory?, symbolic-link?, and regular-file?. 2015-08-05 18:33:35 -07:00
John Benediktsson 7312f3dc66 tools.deploy: fix tests for windows. 2015-08-05 14:04:49 -07:00
Doug Coleman 4131b44503 tools.deploy.embed: rename gone wrong. fixes #1415. 2015-08-05 11:59:27 -07:00
John Benediktsson b8675e4470 tools.deploy: disable opening directory after deploy for tests. 2015-08-05 11:02:09 -07:00
John Benediktsson 6490391bfc tools.deploy.windows: fix using. 2015-08-05 07:26:01 -07:00
John Benediktsson 17b369972f tools.deploy: adding a deploy-path that gives you the executable that was created. 2015-08-04 19:06:19 -07:00
Doug Coleman 876a7f2301 tools.deploy: increase image size for linux32 2015-08-01 14:34:04 -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 117727d444 parser, source-files: you need to bootstrap after this patch.
cleans up some file vs path naming.

file -> current-source-file
file -> current-test-file somewhere else
source-file -> path>source-file
source-file-tuple -> source-file
2015-07-23 22:03:43 -07:00
Doug Coleman cf0cb4aedc nested-comments: remove this vocab. we have /* */ which is good enough for now.
broken case:
(*
: print-broken ( -- ) "*)" ;
*)

not worth fixing, please don't bring this back :)
its functionality will be replaced soon.
2015-07-21 12:07:53 -07:00
Doug Coleman 329aed2366 factor: fix renaming bugs 2015-07-20 07:54:26 -07:00
Doug Coleman 2adeed9cb3 factor: rename classes:members to class-members so it doesn't conflict with sets:members. ugh. 2015-07-20 00:32:42 -07:00
Doug Coleman fbbd09f3c5 factor: system:image -> image-path, like vm-path. image is all over the place png, jpg etc 2015-07-20 00:17:09 -07:00
Doug Coleman 618330b31e factor: rename system:vm -> vm-path to differentiate it from vm:vm (which is a STRUCT:) 2015-07-20 00:10:29 -07:00
Doug Coleman 1b228c7e9c tools.deploy.windows: fix using. 2015-07-19 17:53:09 -07:00
Doug Coleman 9ddae2534d tools.deploy.windows: fix circularity, for some reason not exposed before
this?
2015-07-19 17:37:51 -07:00
Doug Coleman 5f8426cfbe factor: rename files that are not loadable on mac, too 2015-07-19 16:55:36 -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
John Benediktsson 8a3c5c2634 Fix some tests broken by optimized? rename. 2015-07-15 11:47:03 -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
John Benediktsson 8dd67e0741 tools.scaffold: use vocabs:check-vocab-name. 2015-07-09 11:02:09 -07:00
John Benediktsson 7d50ab1937 tools.scaffold: check vocab name in scaffold-vocab. 2015-07-09 10:51:44 -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 e3cb325040 factor: clean up whitespace in -docs files 2015-07-02 10:31:22 -07:00
Doug Coleman 69ee8b9190 core, basis: Don't use the IN: foo.private feature and undocument it.
It only works well when you are loading code dynamically.
2015-06-30 08:51:07 -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
John Benediktsson 6698f7d55d tools.coverage: cleanup and use deep-reduce in count-callables. 2015-06-09 08:43:51 -07:00
John Benediktsson 667462e848 tools.coverage: fix refactor bug. 2015-06-09 08:03:35 -07:00
John Benediktsson d68175f48f Some more general fixes for recent refactors. 2015-06-08 19:15:29 -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 a4c5a748ad core/basis: Rename words dealing with vocabs to loaded-vocabs or disk-vocabs because it's too confusing otherwise. 2015-06-08 12:47:35 -07:00
John Benediktsson 296968580a use assoc-reject instead of [ ... not ] assoc-filter. 2015-05-12 19:08:42 -07:00
John Benediktsson b366a06c41 use reject instead of [ ... not ] filter. 2015-05-12 18:50:34 -07:00
John Benediktsson a33fc84de7 help.lint.checks: re-enable leak detection. 2015-05-12 10:46:37 -07:00
Doug Coleman 59205b0399 tools.scaffold: generating docs for obj/f was broken. 2015-05-05 21:39:55 -07:00
Björn Lindqvist 92165e4ee7 Docs: bunch of smaller documentation fixes for various vocabs 2015-04-29 09:31:54 -07:00
John Benediktsson 7e4d1178c3 interpolate: don't break backwards compatibility. 2015-04-18 20:22:29 -07:00
John Benediktsson c5ed2c89fe interpolate: some fixes for recent API change. 2015-04-18 19:36:49 -07:00
John Benediktsson faa7fde557 tools.ps: enable use from command-line. 2015-04-09 10:43:43 -07:00
John Benediktsson 24101fbaeb tools.hexdump: enable use from command-line. 2015-04-09 10:43:20 -07:00
John Benediktsson 83f7b31910 io.launcher: cleanup public interface, make some things private or internal. 2014-12-30 10:04:09 -08:00
John Benediktsson 0b460c431b tools.deploy.backend: add word for deleting cached staging images. 2014-12-23 08:56:05 -08:00
John Benediktsson c0dda5c7e9 command-line: save the executable in a variable so that people don't use (command-line) directly if possible. 2014-12-23 08:12:31 -08:00
John Benediktsson 9b47a82e78 tools.deploy.shaker: set the rest of the args to preserve current behavior. 2014-12-22 22:44:42 -08:00
John Benediktsson 3709749ea1 tools.disassembler: allow disassemble of compose and curry. 2014-12-19 11:40:41 -08:00
John Benediktsson 00b1919725 basis: cleanup using. 2014-12-01 22:18:32 -08:00
Doug Coleman 726e5068f7 Revert "tools.test: Print tests homoiconically. There is too much spacing still"
This reverts commit 34a197248c.
2014-11-23 23:59:57 -08:00
Doug Coleman beaa8ef083 Revert "tools.test: Fix using list."
This reverts commit 4306180c11.
2014-11-23 23:59:35 -08:00
Doug Coleman 4306180c11 tools.test: Fix using list. 2014-11-23 18:01:19 -08:00
Doug Coleman 34a197248c tools.test: Print tests homoiconically. There is too much spacing still
but it's better than before imo. See #1221.
2014-11-23 16:51:40 -08:00
John Benediktsson de179243ce basis/extra: cleanup uses of add-library. 2014-11-13 13:05:14 -08:00
John Benediktsson d6b6f3893d basis/extra: switch to "vocab." os name>> append require. 2014-11-13 13:00:44 -08:00
John Benediktsson d89ae96c64 tools.scaffold: support more types and maybe types. 2014-11-13 08:23:22 -08:00
Doug Coleman 1ce7c6a9e7 tools.scaffold: Add type for exemplar in docs. 2014-11-08 00:40:13 -08:00
Benjamin Pollack 2c3dd8c3c8 Remove executable bit from tons of files that aren't 2014-11-05 20:40:42 -08:00