Commit Graph

56 Commits (dac179bc33cbf735155c8ee1db819a1f900f69f9)

Author SHA1 Message Date
John Benediktsson 71dd957f77 command-line: rename file to path for user-init-error which is kinda exactly like a source-file-error. 2015-07-28 19:30:20 -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 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 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
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 025283f252 vm: store full command-line including executable first argument. 2014-12-22 22:39:52 -08:00
John Benediktsson b12ca5e412 command-line: make script and -run= param behave similarly. 2014-09-25 21:08:15 -07:00
John Benediktsson 2854ecd4ec command-line: need to check for run differently. 2012-08-13 21:06:57 -07:00
John Benediktsson 2109af55ad command-line: need to check rest of args. 2012-08-13 20:57:39 -07:00
John Benediktsson 36a4a59efc command-line: if run is specified first non-param starts the command-line. 2012-08-13 16:42:56 -07:00
Doug Coleman f4c369bdb0 command-line: Remove -securegc from docs. 2012-07-25 23:54:31 -07:00
Doug Coleman ba64012f79 docs: vm says to read "command-line" but it was called "cli". change the article title in the docs. 2012-07-25 23:49:19 -07:00
Joe Groff 47fc91e948 command-line: don't pull in tools.errors
tools.errors brings the debugger with it, which bloats deploy image size
2011-12-07 10:52:58 -08:00
Doug Coleman 3ba787b277 core/basis: trim down using lists 2011-11-30 23:15:42 -08:00
Joe Groff 14031d8794 icon for user-init-errors 2011-11-27 12:06:48 -08:00
Joe Groff ad92bf7486 break circularity 2011-11-27 11:45:28 -08:00
Joe Groff 0f137bafe9 command-line: don't die if factor-rc has an error
Instead, put user-init-errors in the error list.
2011-11-27 10:49:02 -08:00
Joe Groff ddcc87f58a command-line.startup: fix help message on windows
Support /? while we're at it. Fixes #323
2011-11-15 13:09:32 -08:00
Joe Groff 1b38835207 remove lingering mentions of macosx-ppc 2011-11-02 18:40:27 -07:00
Joe Groff 186bf65a00 constants for special object hardcoded literals 2011-11-02 12:54:50 -07:00
Doug Coleman 94db86a6db Make "foo.private" require load foo instead.
Move require from vocabs.loader to vocabs. Update everything.
Fixes #201.
2011-11-02 11:50:03 -07:00
John Benediktsson 6417f36397 namespaces: adding a "with-global" word to replace "global [ ] bind". 2011-10-13 17:21:59 -07:00
Joe Groff 5ce32b35a7 command-line.startup: add note about -run=listener and -run=ui.tools to the --help text (as suggested by @yac in issue #94) 2011-09-11 10:12:09 -07:00
Doug Coleman 5fce2d0f27 Make "quiet" true by default. Disable quiet mode for listener, bootstrap, and deploy tool.
Move "quiet" to parser-quiet? in parser.notes. Change a few places where quiet was handle wrong.
2011-09-06 17:58:12 -07:00
Slava Pestov 65837e742d command-line: move some stuff to command-line.startup so that deployed images don't pull in prettyprinter and debugger 2011-09-01 22:31:44 -07:00
Slava Pestov e17c1483b2 command-line: fix typo in docs 2011-09-01 20:21:12 -07:00
Joe Groff 237d0733c6 command-line: enable "quiet" mode for -e or script modes before .factor-rc is loaded 2011-08-19 17:27:13 -07:00
Joe Groff cc6ec893c5 command-line: interpret "-help" or "--help" and print a brief usage message with the most common options 2011-08-18 19:10:51 -07:00
Joe Groff d711824c10 command-line, parser, syntax: move the MAIN: invocation from run-file to run-script to minimize the potential impact on internal machinery that uses run-file 2011-08-17 21:29:02 -07:00
Joe Groff e1390875ca parser, source-files, syntax: have MAIN: store the main entry point in the source-file record in addition to the vocabulary. Have run-file execute the MAIN: word for a file if present after evaluating its contents. 2011-08-17 20:58:09 -07:00
Erik Charlebois 305dcf1551 Use .factor-rc etc on Windows too, files can begin with dots just fine 2011-05-23 23:36:13 -04:00
Mitchell N Charity c989ba84a9 command-line-docs: fix -run description 2010-09-13 17:22:23 -04:00
Doug Coleman 0c184e2666 Don't add empty vocab-roots lines 2010-06-04 14:17:07 -05:00
Slava Pestov 560c119cd2 vm: actually use context callstacks when running code 2010-03-26 22:44:43 -04:00
Aaron Schaefer e772aae510 Typo in command-line docs 2010-02-14 16:00:08 -06:00
Slava Pestov d4435ed32a command-line: if -e= is passed, don't run main vocab after evaluation ends 2010-01-25 21:05:42 +13:00
Slava Pestov 1c10196c43 Rename kernel.private:getenv/setenv to special-object/set-special-object to mirror recent renaming on the VM side 2010-01-13 18:08:18 +13:00
Doug Coleman 6b6e56a179 change add-init-hook to add-startup-hook, new add-shutdown-hook word 2009-10-19 22:17:02 -04:00
Slava Pestov 697e2342d0 vm: put code block owner directly in the header, instead of as the first entry in the literal table. Reduces x86-64 image size by ~700kb, also eliminates separate 'strip' set of staging images from deploy tool 2009-10-06 06:25:07 -05:00
Slava Pestov bcd5c5c635 Fix deploy tests and update command-line docs a bit 2009-10-03 06:53:23 -05:00
Slava Pestov 21eea4d88c Allow access to command line arguments in deployed apps 2009-10-02 21:00:12 -05:00
Keith Lazuka 405e5d015b docs: change $subsection to $subsections 2009-10-02 12:15:48 -04:00
Slava Pestov b31fe9b8f2 Implement stricter vocab search path semantics, with a new API for vocabs.parser. Add map-find-last to sequences vocab 2009-05-14 22:31:29 -05:00
Slava Pestov a63ad6a7a5 Remove cruddy string encoding/decoding code from VM 2009-05-02 13:45:38 -05:00
Slava Pestov 3985b18026 Add -pic= command line argument 2009-04-28 16:58:19 -05:00
Slava Pestov ba61b82152 Pass vocab roots onto deployed app. Fixes deployment of apps outside the built-in roots. Reported by Alec Berryman 2009-04-07 21:47:57 -05:00
Slava Pestov 786475102d Make more code infer 2009-03-17 02:19:50 -05:00
Slava Pestov 50e214c152 io.files split up and general refactoring work in progress 2008-12-14 20:03:00 -06:00
Slava Pestov 4f0a9f311e Untangling some dependencies 2008-12-08 14:58:00 -06:00