活體解剖:剎那極簡虛擬機

The Anatomy of Ksana Minimal Virtual Machine


剎那極簡虛擬機簡介
授權方式: 程式 GPL 3.0 教學檔 GFDL
程式撰寫人及講課者:葉健欣 yapcheahshen@gmail.com
本教學以Visual C++ Express 2008錄製,其他開發環境使用者請自行設定(開新專案,把所有 .c 檔加入專案即可)。
第一次請順序看過,不清楚的單元再重看。
Google ksanaVm討論區
下載第1~17課全集打包 (63MB)
Starting up 啟動 2007.12.20
setup 2007.12.20 install and start up 安裝與啟動
fileintro 2007.12.20File and environment Introduction 檔案及環境解說
vcintroVC++ IDE intro, 開發環境簡介(不熟VC++請看)
Part1 : The Interpreter 直譯器 下載所需檔案 8KB ZIP (1~3課)
lesson12007.12.20Processing tokens 處理符素
lesson22007.12.20Working with stack 堆疊
lesson3_12007.12.20The execution vector 執行單元 (函式介紹)
lesson3_22007.12.20The execution vector 執行單元 (追縱)
Part2 : The Compiler 編譯器 下載所需檔案 11KB ZIP (4~8課)
Lesson42007.12.21Dictionary 字典
Lesson5_12007.12.21 Invoke a Call and Return 呼叫及返回 (介紹)
Lesson5_22007.12.22Invoke a Call and Return 呼叫及返回 (追縱)
Lesson62007.12.22Nested Call 巢狀呼叫
Lesson72007.12.24Compiling literals 編入數值
Lesson82007.12.24Colon Defination 定義新字
Part3 : Program Structure 程序結構 下載所需檔案 21KB ZIP(9~12課)
Lesson92008.1.21String compiler 字串編譯
Lesson102008.1.21if-then-else 改變程式流程(1)
Lesson112008.1.22do-loop 改變程式流程(2)
Lesson122008.1.22Variable 變數
Part4 : Developing Application 開發應用程序 下載所需檔案 24KB ZIP(13~17課)
Lesson132008.1.22Localization 中文化
Lesson142008.1.22Calling System API 調用系統函式
Lesson152008.1.23loading external source file 載入源碼
Lesson162008.1.23Recursion 遞迴呼叫:Factorial 階乘
Lesson172008.1.23Array 陣列:Prime Number 質數
Part5 : Advance Topic 進階主題下載所需檔案 37KB rar (lesson 20)
Lesson202011/5/25Create Does
Lesson2180x86 Disassembler
Lesson2280x86 Assembler
Lesson23Meta Compiling
Lesson24Peek hole optimizer

**the end**