MIRROR: javascript for 馃悳's, a tiny runtime with big ambitions
1ant_help_flags = "<bold>Flags:</>\n"
2ant_command_extra = "\n <pad=18><command> <bold+cyan>--help</></pad> Print help text for command.\n"
3
4snapshot_warn = "{warn}: <bold>Failed to load snapshot:</> %s\n"
5unknown_flag_warn = "{warn}: <bold>Unknown ANT_DEBUG flag: \"%s\"</>\n"
6
7failed_to_fetch = "{error}: <bold>Could not fetch \"%s\"</>: %s\n"
8module_not_found = "{error}: <bold>Module not found: \"%s\"</>\n"
9type_strip_failed = "{error}: <bold>Type stripping failed (%d)</>: %s\n"
10watch_entrypoint_error = "{error}: <bold>--watch requires a local file entrypoint.</>\n"
11watch_module_error = "{error}: <bold>--watch only supports module file execution.</>\n"
12watch_subcommand_error = "{error}: <bold>--watch is only supported when executing a module file.</>\n"
13misuse_clear_screen = "{error}: <bold>--no-clear-screen can only be used with --watch.</>\n"
14
15ant_allocation_fatal = "{fatal}: Failed to allocate for Ant.</>\n"
16oom_fatal = "<bold+red>FATAL</bold>: Out of memory\n"
17argument_fatal = "{fatal}: <bold>Failed to resolve positional argument index.</>\n"
18
19arg_unexpected = "{error}: <bold>Unexpected argument <cyan>%s</>\n"
20arg_opt_needed = "{error}: <bold>Option <cyan>%s</> requires an argument\n"
21arg_invalid = "{error}: <bold>Invalid option <cyan>%s</>\n"
22opt_invalid = "{error}: <bold>Invalid option <cyan>-%c</>\n"
23
24ant_help_header = """\
25{let h=bold, arg=cyan, name='Ant'}\
26<$h+red>{name}</> is a tiny JavaScript runtime and package manager ({version})<br=2/>\
27<$h>Usage: {~name} <yellow>[module.js]</yellow> <$arg>[...flags]<reset/><br/>\
28<$h><gap=7/>{~name} <<command>><gap=3/><$arg>[...args]<reset/><br=2/>\
29If no module file is specified, {name} starts in REPL mode.<br=2/>\
30"""
31
32watch_spawn_failed = "{error}: <bold>Failed to spawn watched process:</> %s\n"
33watch_entrypoint_missing = "{error}: <bold>--watch requires a local file entrypoint.</>\n"
34watch_file_failed = "{error}: <bold>Failed to watch %s:</> %s\n"
35watch_child_error = "{error}: <bold>Failed to terminate child process:</> %s\n"
36
37watch_warn_normal = "{warn}: Watcher error on %s: %s\n"
38watch_loop_cleanup = "{warn}: Watch loop cleanup incomplete: %s\n"
39watch_graceful_term = "{warn}: Failed to terminate child process gracefully: %s\n"
40
41watch_start_fatal = "{fatal}: Failed to initialize watch mode.\n"
42watch_loop_fatal = "{fatal}: Failed to initialize watch loop: %s\n"
43watch_loop_handles_fatal = "{fatal}: Failed to initialize watch handles: %s\n"