[Libre-soc-bugs] [Bug 1125] split instructions' pseudo-code into separate files so they can be [[!inline]]-ed into the wiki

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sun Aug 6 19:43:11 BST 2023


https://bugs.libre-soc.org/show_bug.cgi?id=1125

--- Comment #21 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Jacob Lifshay from comment #20)

> so, do you want me to rewrite it in python 

it's too late, now, isn't it? that's *even more* work for what
shoud have been a simple task using insndb and a pre-existing
parser.

> or do the extra modifications to
> the shell script (afaict less work)?

different purpose, different script. more time wasted on rewrite.

1. splitter script leave as-is. run then abandon
2. insndb-based enumerator script

OR

3 *USE* insndb command-line tool to *OUTPUT* the opcode
   format FROM the shellscript.

outputting the opcode format is one of the options to one of the
listing tools, please use it instead of duplicating work.

3 *may* turn out to be dependent on 1 because the insndb tool can
list the mdwn file (it is part of insn Record). if that is now the
individual instruction then it is a near-trivial task.

basically you should not have used complex shell script, they are
unintelligable, user-hostile and impossible to understand except
by people with IQs well over 150.

but we are stuck with the decision, now, but the priority is
"get the job done and move on" not "do the job nicely"

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list