Given how problematic leading tabs in markdown files can be,
we have expanded all leading tabs in markdown files by:
```sh
find * -type f -name '*.md' -print |
while read -r file; do
rm -f "$file.tmp" ;
expand < "$file" > "$file.tmp" ;
mv -f -v "$file.tmp" "$file" ;
done
```
Given the previous changes to `bin/pandoc-wrapper.sh` and other recent
commits and recent pull requests, the were were **NO** changes to
any HTML files. This is a **good thing** as the expression goes.
No there are no leading tabs in any markdown files.
A check to catch any re-introduction of leading tabs
into any markdown file is on the way.
BTW: We do not have anything against leading tabs in files,
even though we have had to deal with their impact on forming
HTML from markdown files (as well as the calc source code).
It is just that this is one of those cases where tabs conflict
(sometimes caused by people wanting to change the classic
8-space tab model) with a desired outcome.
Perform `make www` to perform the above and test under macOS.
1.7 KiB
1.7 KiB
Useful files to view
- buzzard.2.README.html - this file
- buzzard.2.design.html - description of FIRST (design documentation of THIRD)
- third - implementation of THIRD in FIRST
- help.th - online listing of THIRD primitives
FIRST demos:
Use:
./first < demo_file
- demo1.1st - prints Hello World! assuming ASCII
THIRD demos:
Use:
cat third demo_file | ./first
Demo files:
- demo1.th - prints Hello World! regardless of character set
- demo2.th - demonstrates a simple loop
- demo3.th - demonstrates a simple if test
- demo4.th - recursive factorial calculating on the way up
- demo5.th - recursive factorial calculating on the way down
- demo6.th - demonstrates switching from compiler to execution mode
Interactive THIRD:
Use:
cat third - | ./first
To include the primitive on-line help, use:
cat third help.th - | ./first
Jump to: top