summary refs log tree commit diff
path: root/home/.local/bin/nasd
blob: d64b2c3a2a87961f402c7fa6717a06f4ccf66536 (plain) (blame)
1
2
3
4
5
6
7
8
9
#!/bin/sh
set -eu

dir=$(mktemp -d)
echo 'bits 64' > "${dir}/input"
cat >> "${dir}/input"
nasm -o "${dir}/output" "${dir}/input" || true
ndisasm -b 64 "${dir}/output" || true
rm -r "$dir"
ostfix $ operator to bitJune McEnroe 2020-12-29Add make lexerJune McEnroe 2020-12-29Clean up C lexerJune McEnroe 2020-12-29Clean up hilex code somewhatJune McEnroe 2020-12-29Match lex/yacc %% %{ %} lines as MacroJune McEnroe 2020-12-29Match top-level C definitions as IdentifierTagJune McEnroe 2020-12-29Match C type declarations as IdentifierTagJune McEnroe 2020-12-29Match function-like macro definitions as IdentifierTagJune McEnroe 2020-12-29Reconfigure C macro start conditionsJune McEnroe 2020-12-29Document HTML class namesJune McEnroe 2020-12-29Rename Tag class to IdentifierTagJune McEnroe 2020-12-29Change HTML class from hi to hilexJune McEnroe 2020-12-29Add hilex HTML outputJune McEnroe