├── .gitignore ├── LICENSE ├── Makefile ├── Readme.md ├── a7out ├── as7 ├── cmds ├── Makefile ├── cat.h ├── cp.h ├── creat.h ├── getuid.h ├── mv.h ├── rm.h └── time.h ├── h.eyp ├── h_intro.html ├── hrt.s ├── roff ├── Makefile ├── cat.1 ├── infile ├── roff.c ├── roff_manual └── wktroff.c ├── tests ├── mkout ├── runtests ├── t1.h ├── t1.out ├── t10.h ├── t10.out ├── t11.h ├── t11.out ├── t12.h ├── t12.out ├── t13.h ├── t13.out ├── t14.h ├── t14.out ├── t15.h ├── t15.out ├── t16.h ├── t16.out ├── t17.h ├── t17.out ├── t18.h ├── t18.out ├── t19.h ├── t19.out ├── t2.h ├── t2.out ├── t20.h ├── t20.out ├── t21.h ├── t21.out ├── t22.h ├── t22.out ├── t23.h ├── t23.out ├── t24.h ├── t24.out ├── t25.h ├── t25.out ├── t26.h ├── t26.out ├── t27.h ├── t27.out ├── t28.h ├── t28.out ├── t29.h ├── t29.out ├── t3.h ├── t3.out ├── t30.h ├── t30.out ├── t31.h ├── t31.out ├── t32.h ├── t32.out ├── t33.h ├── t33.out ├── t4.h ├── t4.out ├── t5.h ├── t5.out ├── t6.h ├── t6.out ├── t7.h ├── t7.out ├── t8.h ├── t8.out ├── t9.h └── t9.out └── todo /.gitignore: -------------------------------------------------------------------------------- 1 | RCS 2 | h.pm 3 | roff.s 4 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/Makefile -------------------------------------------------------------------------------- /Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/Readme.md -------------------------------------------------------------------------------- /a7out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/a7out -------------------------------------------------------------------------------- /as7: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/as7 -------------------------------------------------------------------------------- /cmds/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/cmds/Makefile -------------------------------------------------------------------------------- /cmds/cat.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/cmds/cat.h -------------------------------------------------------------------------------- /cmds/cp.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/cmds/cp.h -------------------------------------------------------------------------------- /cmds/creat.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/cmds/creat.h -------------------------------------------------------------------------------- /cmds/getuid.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/cmds/getuid.h -------------------------------------------------------------------------------- /cmds/mv.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/cmds/mv.h -------------------------------------------------------------------------------- /cmds/rm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/cmds/rm.h -------------------------------------------------------------------------------- /cmds/time.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/cmds/time.h -------------------------------------------------------------------------------- /h.eyp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/h.eyp -------------------------------------------------------------------------------- /h_intro.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/h_intro.html -------------------------------------------------------------------------------- /hrt.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/hrt.s -------------------------------------------------------------------------------- /roff/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/roff/Makefile -------------------------------------------------------------------------------- /roff/cat.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/roff/cat.1 -------------------------------------------------------------------------------- /roff/infile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/roff/infile -------------------------------------------------------------------------------- /roff/roff.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/roff/roff.c -------------------------------------------------------------------------------- /roff/roff_manual: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/roff/roff_manual -------------------------------------------------------------------------------- /roff/wktroff.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/roff/wktroff.c -------------------------------------------------------------------------------- /tests/mkout: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/mkout -------------------------------------------------------------------------------- /tests/runtests: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/runtests -------------------------------------------------------------------------------- /tests/t1.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t1.h -------------------------------------------------------------------------------- /tests/t1.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t1.out -------------------------------------------------------------------------------- /tests/t10.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t10.h -------------------------------------------------------------------------------- /tests/t10.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t10.out -------------------------------------------------------------------------------- /tests/t11.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t11.h -------------------------------------------------------------------------------- /tests/t11.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t11.out -------------------------------------------------------------------------------- /tests/t12.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t12.h -------------------------------------------------------------------------------- /tests/t12.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t12.out -------------------------------------------------------------------------------- /tests/t13.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t13.h -------------------------------------------------------------------------------- /tests/t13.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t13.out -------------------------------------------------------------------------------- /tests/t14.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t14.h -------------------------------------------------------------------------------- /tests/t14.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t14.out -------------------------------------------------------------------------------- /tests/t15.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t15.h -------------------------------------------------------------------------------- /tests/t15.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t15.out -------------------------------------------------------------------------------- /tests/t16.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t16.h -------------------------------------------------------------------------------- /tests/t16.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t16.out -------------------------------------------------------------------------------- /tests/t17.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t17.h -------------------------------------------------------------------------------- /tests/t17.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t17.out -------------------------------------------------------------------------------- /tests/t18.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t18.h -------------------------------------------------------------------------------- /tests/t18.out: -------------------------------------------------------------------------------- 1 | 000050 2 | -------------------------------------------------------------------------------- /tests/t19.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t19.h -------------------------------------------------------------------------------- /tests/t19.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t19.out -------------------------------------------------------------------------------- /tests/t2.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t2.h -------------------------------------------------------------------------------- /tests/t2.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t2.out -------------------------------------------------------------------------------- /tests/t20.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t20.h -------------------------------------------------------------------------------- /tests/t20.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t20.out -------------------------------------------------------------------------------- /tests/t21.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t21.h -------------------------------------------------------------------------------- /tests/t21.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t21.out -------------------------------------------------------------------------------- /tests/t22.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t22.h -------------------------------------------------------------------------------- /tests/t22.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t22.out -------------------------------------------------------------------------------- /tests/t23.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t23.h -------------------------------------------------------------------------------- /tests/t23.out: -------------------------------------------------------------------------------- 1 | 000040 2 | -------------------------------------------------------------------------------- /tests/t24.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t24.h -------------------------------------------------------------------------------- /tests/t24.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t24.out -------------------------------------------------------------------------------- /tests/t25.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t25.h -------------------------------------------------------------------------------- /tests/t25.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t25.out -------------------------------------------------------------------------------- /tests/t26.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t26.h -------------------------------------------------------------------------------- /tests/t26.out: -------------------------------------------------------------------------------- 1 | 000032 2 | -------------------------------------------------------------------------------- /tests/t27.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t27.h -------------------------------------------------------------------------------- /tests/t27.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t27.out -------------------------------------------------------------------------------- /tests/t28.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t28.h -------------------------------------------------------------------------------- /tests/t28.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t28.out -------------------------------------------------------------------------------- /tests/t29.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t29.h -------------------------------------------------------------------------------- /tests/t29.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t29.out -------------------------------------------------------------------------------- /tests/t3.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t3.h -------------------------------------------------------------------------------- /tests/t3.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t3.out -------------------------------------------------------------------------------- /tests/t30.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t30.h -------------------------------------------------------------------------------- /tests/t30.out: -------------------------------------------------------------------------------- 1 | 30. -------------------------------------------------------------------------------- /tests/t31.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t31.h -------------------------------------------------------------------------------- /tests/t31.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t31.out -------------------------------------------------------------------------------- /tests/t32.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t32.h -------------------------------------------------------------------------------- /tests/t32.out: -------------------------------------------------------------------------------- 1 | 1234 2 | -------------------------------------------------------------------------------- /tests/t33.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t33.h -------------------------------------------------------------------------------- /tests/t33.out: -------------------------------------------------------------------------------- 1 | 001320 2 | -------------------------------------------------------------------------------- /tests/t4.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t4.h -------------------------------------------------------------------------------- /tests/t4.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t4.out -------------------------------------------------------------------------------- /tests/t5.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t5.h -------------------------------------------------------------------------------- /tests/t5.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t5.out -------------------------------------------------------------------------------- /tests/t6.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t6.h -------------------------------------------------------------------------------- /tests/t6.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t6.out -------------------------------------------------------------------------------- /tests/t7.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t7.h -------------------------------------------------------------------------------- /tests/t7.out: -------------------------------------------------------------------------------- 1 | 000054 2 | -------------------------------------------------------------------------------- /tests/t8.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t8.h -------------------------------------------------------------------------------- /tests/t8.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t8.out -------------------------------------------------------------------------------- /tests/t9.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t9.h -------------------------------------------------------------------------------- /tests/t9.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/tests/t9.out -------------------------------------------------------------------------------- /todo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorWkt/h-compiler/HEAD/todo --------------------------------------------------------------------------------