作者van2003 (van2003)
看板ASM
标题[问题] 请问complier 和组语的问题
时间Wed Jul 4 21:00:13 2007
因为有认识的人期末考要交compiler 的作业
题目是
Ada/cs的compiler要产生出组语或者machine code
以下是要求:
Integer, Real, Boolean types (5 points)
Basic expressions involving Integer, Real and Boolean types(+, -, *, /, not, and, or, abs, mod, **, <, <=, >, >=, =, /=) (30 points)
Input/Output
Input of Integer, Real, Boolean scalars (5 points)
Output of String literals and Integer, Real and Boolean expressions (excluding formatting) (5 points)
Block structure (including declaration of local variables and constants) (20 points)
Assignment statement (10 points)
if, loop, and exit statements (10, 5, 10 points respectively)
请教各位高手,能否给些观念或帮忙,可以回文说明一下
最好是丢我水球,谢谢啦! 感激不尽!
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 61.230.10.88