Over the course of my Spring 2020 semester at Harvey Mudd College, I developed a self-hosting compiler entirely from scratch. This article walks through many interesting parts of the project. Itâs laid out so you can just read from beginning to end, but if youâre more interested in a particular topic, feel free to jump there. Or, take a look at the project on GitHub. Table of contents What the pro
æ¦è¦: ãã®è¨äºã§ã¯ 8ããã CPU 6502 ã 使ã£ãã¢ã»ã³ãã©ããã°ã©ãã³ã°ãç´¹ä»ããã ãã¢ã»ã³ãã©ããã°ã©ãã³ã°ãã¨ã¯ãããã°ã©ãã³ã°è¨èªã使ããã CPU ã®ãã¤ãã£ãå½ä»¤åãç´æ¥æ¸ãããã°ã©ãã³ã°æ¹æ³ã§ããã 6502 ã¯ãã¾ããç´50å¹´åã«éçºããã ãã¡ãã³ã³ã Apple II ãªã©å¤ãã®ãã¼ãã¦ã§ã¢ã§å©ç¨ãããã ãããããã®åçã¯ä»æ¥ã®ã³ã³ãã¥ã¼ã¿ã¨ã»ã¨ãã©å¤ãã£ã¦ããªãã ããã§ã¯ 6502 ã®ããã°ã©ãã³ã°ãéãã¦ãã³ã³ãã¥ã¼ã¿ã®æ¬è³ªãå¦ã¶ã 6502 ããã°ã©ãã³ã°å ¥é ã³ã³ãã¥ã¼ã¿ã®åç ã¬ã¸ã¹ã¿ã¨ã¯ 16鲿°ã¨ã¯ 6502ã¨ãã¥ã¬ã¼ã¿ã使ã£ãæ¼ç¿ ã¡ã¢ãªã«å¤ãæ ¼ç´ãã ã¡ã¢ãªã®å¤ãå¢å ãããªããã«ã¼ããã ã¢ã»ã³ãã©ã使ã£ãããã°ã©ãã³ã° æåã®ããã°ã©ã (æ¹è¯ç) ã¢ã»ã³ãã©ã使ã£ãã¸ã£ã³ãå½ä»¤ å·®åã¢ãã¬ãã·ã³ã° æ¡ä»¶åå² æ¡ä»¶åå² ãã®2 16ã
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã¡ã³ããã³ã¹
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}