cortav  Check-in [83a68319da]

Overview
Comment:defuckered the cli driver so syntax errors will display instead of triggering a panic in the binary wrapper
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 83a68319da617be49d31e65a001ad0d9257d6edef5bff1911c272defbf5ba6bf
User & Date: lexi on 2021-12-27 05:52:01
Other Links: manifest | tags
Context
2021-12-27
06:06
add hue spread check-in: 560e69cc54 user: lexi tags: trunk
05:52
defuckered the cli driver so syntax errors will display instead of triggering a panic in the binary wrapper check-in: 83a68319da user: lexi tags: trunk
05:51
more tweaks, fixes, and additions than i can keep track of. major additions to documentation. spiffed up html renderer's footnotes and TOC dramatically check-in: e51980e07a user: lexi tags: trunk
Changes

Modified cli.lua from [ad6ab18d31] to [9f14981767].

216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
		input.stream = file
		input.src.file = args[1]
	end

	return main(input, outp, log, mode, suggestions, vars, extrule)
end

-- local ok, e = pcall(entry_cli)
local ok, e = true, entry_cli()
if not ok then
	local str = 'translation failure'
	if ss.exn.is(e) then
		str = e.kind.desc
	end
	local color = false
	if log:seek() == nil then







|
|







216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
		input.stream = file
		input.src.file = args[1]
	end

	return main(input, outp, log, mode, suggestions, vars, extrule)
end

local ok, e = pcall(entry_cli)
-- local ok, e = true, entry_cli()
if not ok then
	local str = 'translation failure'
	if ss.exn.is(e) then
		str = e.kind.desc
	end
	local color = false
	if log:seek() == nil then