Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
# SYNTAX PDF DOCUMENT BROWSER koreyhinton.com/syntax # BUILD INSTRUCTIONS # Requires some or possibly all of these installed # tested on Ubuntu # sudo apt-get install texlive-latex-base # sudo apt-get install texlive # sudo apt-get install texlive-extra-utils # sudo apt-get install texlive-full # tlmgr install texliveonfly # tlmgr init-usertree # tlmgr install texliveonfly # Requires unifont package to be installed # sudo apt-get install unifont # tested on Ubuntu # Requires a csv file placed in files/db/js.csv with headers (and data rows): # id name syntax reference example_usage # INSTALL INSTRUCTIONS ns-clone stx https://github.com/koreyhinton/syntax.git # until ns-clone gets fixed, have to run this at start of shell session (or at the end of .bashrc): unalias sv-load sv-load() { . ns run "/k/repos/kh/ns-clone/repos/sv/commands/load"; } export -f sv-load # GENERATE ONE LANGUAGE'S SYNTAX DOCUMENT stx_lang=js stx-gen-lang # GENERATE ALL LANGUAGE'S SYNTAX DOCUMENTS stx-gen-all