Commit Graph

1051 Commits (be8c711d3efe07b686f835959aed1cae5634e928)

Author SHA1 Message Date
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
Doug Coleman 7799c6f217 tools.scaffold: Make a better scaffold-examples word in hopes it will cause more examples to get written. Add more docs. Fix spacing bug in scaffold-undocumented. 2014-10-31 17:45:48 -07:00
Doug Coleman 56217afcbb tools.deploy-tests: inc size for linux32 2014-10-09 12:23:12 -07:00
Doug Coleman 7328fa306f tools.deploy: Bump the build size. This is a comparatively sizeable bump
compared to usual, but I really want clean builds.
2014-10-08 11:41:34 -07:00
Doug Coleman 424e1983e4 tools.profiler.sampling: Kick it down a notch. Makes win32 tests finish! 2014-10-07 23:56:50 -07:00
Björn Lindqvist 4a96e6163b VM: new primitive (callback-room) for querying the VM about memory usage
The word works exactly like (code-room) except it looks at the memory
usage in the callback heap instead of the code heap.
2014-09-29 07:30:21 -07:00
Björn Lindqvist 8d6df6d128 tools.deploy.backend: with-variables need to be on the whole block 2014-09-28 22:57:24 +02:00
Björn Lindqvist 07dd28c94d tools.deploy.backend: rearranging the order of parameters in the deploy process, -run needs to be last 2014-09-28 13:14:42 -07:00
Doug Coleman c9e705ff6a tools.deploy: bump sizes for linux32. so not hardcore. 2014-09-24 17:12:02 -07:00
Doug Coleman cf6ae0ec2e tools.depoy: Bump test size for mac32. 2014-09-12 12:08:05 -07:00
John Benediktsson aaeb3f357e tools.deploy.backend: use make-my-image. 2014-08-05 12:24:34 -07:00
John Benediktsson f8c4827095 tools.deploy.macosx: needs more boolean. 2014-08-05 11:44:43 -07:00
John Benediktsson a9f305bfa6 tools.deploy.macosx: whoops needs more string. 2014-08-05 11:44:02 -07:00
John Benediktsson 4b64626e10 tools.deploy.macosx: deployed apps should be retina-capable. 2014-08-05 11:43:26 -07:00
John Benediktsson 6f3d6ad560 tools.profiler.sampling: use formatting instead of math.parser.private. 2014-08-05 11:43:26 -07:00
Doug Coleman 63af1308bb tools.deploy: Pump p p pump pump it up 2014-07-09 21:40:18 -07:00
John Benediktsson e5db4c2ccc tools.deploy: bump sizes to get clean 32-bit builds (for now). 2014-07-06 11:11:22 -07:00
Björn Lindqvist 508b85851d tools.deploy.backend: ui depends on (full) io so it needs to be loaded first
find-library on linux needs to call /sbin/ldconfig which requires a
full io-backend. Using gtk requires loading alien libraries which
requires find-library. So the ui should always load the whole io.
2014-07-03 21:57:07 +00:00
Doug Coleman 3ca95f58f9 tools.coverage.testvocab: Fix help lint errors. 2014-07-03 11:48:08 -07:00
Jon Harper 0cf6541847 tools.coverage: add tests, fixes #433 2014-06-09 08:31:04 -07:00
Jon Harper 485932eff1 test-coverage-recursively: remove private and tests vocabs
private vocabs are already covered when testing the main vocab.
test vocabs don't need coverage.
2014-06-09 08:31:04 -07:00
John Benediktsson 0554e8c3fa tools.deprecation: make deprecation warnings not fatal (so they don't clutter the UI forever). 2014-06-06 14:10:32 -07:00
John Benediktsson df50f9ad8c tools.coverage: add docs for test-coverage-recursively. 2014-06-06 10:22:37 -07:00
John Benediktsson ee9b803252 tools.ps.macosx: fix for recent change to system-info.macosx. 2014-06-05 21:01:57 -07:00
Doug Coleman 40a79766af alien.libraries: Change <library> to be just a constructor. Replace with make-library and try-make-library so that we throw better errors. 2014-06-05 14:28:37 -07:00
John Benediktsson 27c86672eb tools.coverage: change test-coverage to not test recursively. 2014-06-03 18:11:26 -07:00
John Benediktsson 57f9d78892 improve help by linking to types directly. 2014-05-23 20:20:15 -07:00
John Benediktsson 98935b7f15 docs: change ``{ $quotation "( x -- y )" }`` to ``{ $quotation ( x -- y ) }``. 2014-05-18 20:09:10 -07:00
Doug Coleman 8a084926d1 deploy-tests: Bump the sizes to get a Linux32 build. 2014-05-07 13:28:31 -07:00
Doug Coleman ae6b931284 deploy: Up the size. 2014-04-23 00:10:56 -07:00
John Benediktsson 830c72198c Revert "tools.deploy.test: use temp directory for deploy image."
This reverts commit 233b8e1ba611888ff9b86ddba3152c4fd352504d.
2014-04-22 20:44:04 -07:00
John Benediktsson a7b54e7895 tools.deploy.test: use temp directory for deploy image. 2014-04-22 16:21:25 -07:00
John Benediktsson 857c97647e tools.deploy.config: some docs for deploy-directory. 2014-04-22 15:55:56 -07:00
John Benediktsson 580bafb857 tools.deploy: adding a configurable deploy-directory. 2014-04-22 14:08:40 -07:00
John Benediktsson 78d0aad87d http.server.responses: adding <html-content>, use it. 2014-04-22 13:47:25 -07:00
John Benediktsson d3935d2ef3 add some libc usings for macosx. 2014-04-16 07:55:37 -07:00
Doug Coleman c0fbf0455d tools.scaffold: Add word to scaffold a mason rc file. 2014-04-15 19:05:00 -07:00
Björn Lindqvist 792ed03b4d help.lint.checks: check for disposable leaks and print more details when $values are wrong 2014-04-14 08:37:52 -07:00
Doug Coleman c6fd2da67f tools.coverage: Add a ``test-coverage-recursively`` word. Not all vocabs can be tested for unit test coverage, so don't make this the default. Fixes #1013. 2014-03-11 21:20:34 -05:00
Doug Coleman e407981e12 io.directories: Add with-resource-directory word and use it. 2013-09-24 13:13:39 -07:00
Doug Coleman 662e215c7e tools.deploy.test: Bump windows binaries size up a bit. 2013-07-16 11:26:32 -07:00
John Benediktsson 787cc89370 tools.ps.windows: use offset-of instead. 2013-07-15 15:31:59 -07:00
Doug Coleman 18a463bc2f tools.ps.windows: Fix offsets for win64. 2013-07-15 15:19:07 -07:00
John Benediktsson eaea33b28e tools.disassembler.udis: no longer need these tests. 2013-05-28 14:15:48 -07:00
John Benediktsson 0f8b890748 tools.disassembler.udis: 1k ought to be enough for anybody.
(Work around change in struct sizes from 1.7 to 1.7.1).
2013-05-28 12:11:12 -07:00
Doug Coleman 16d24a5194 tools.ps.windows: Add read-peb and my-peb. 2013-05-01 18:15:15 -07:00
Doug Coleman 90c7c3fc81 tools.ps.windows: Implement ps. for Windows! 2013-04-26 21:15:12 -07:00
John Benediktsson 3139ec1d61 tools.test: allow testing from the command-line. 2013-04-26 17:43:39 -07:00
John Benediktsson 380bb350ca tools.ps.macosx: use trim-head-slice, simpler. 2013-04-26 16:23:32 -07:00