Re: [作業] compiler homework5

看板b93902HW作者 (with friends)時間17年前 (2007/06/04 23:51), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串4/30 (看更多)
: 今天會把c--的程式放到網頁上 新增 c-- and lib.o testcase1 以上都在 http://www.csie.ntu.edu.tw/~comp07 ./c-- xxx.s 會check xxx.s的每一行是否符合c--語法 c-- 語法在 Slide Part A可以找到, 或者從c--.tgz的parser.y scanner.l得知 (若覺得c-- report error有問題, 歡迎回報) 若都符合語法, 它會 g++ -c xxx.s -o tmp.o ; g++ tmp.o lib.o -o p.out ; p.out就是執行檔了 如果-o option存在, 請alias p.out 程式正確性: ./p.out < in > out ; 確認 out 和 sol 一樣 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.112.217.61
文章代碼(AID): #16P3K083 (b93902HW)
討論串 (同標題文章)
文章代碼(AID): #16P3K083 (b93902HW)