NewCompileError/2014_05_03 (rev. 1.14)
오리엔테이션
결정 사항 ¶
source language : c
target language : javascript
code language : java, to try
DRAFT 언어 형식 정의 ¶
BNF는 복잡하므로 일단 정규표현식을 사용함
- number := integer | double
- integer := decimal integer
- decimal integer := 0 | -? 1-9 0-9 *
- double := decimal integer . 0-9* |
decimal integer eE decimal integer?
- factor := term + term |
term / term |
numer |
( term )
- term := factor + factor |
factor - factor |
factor
- expression := term