본문 바로가기

문법(BNF) 및 역폴란드 표기법

도입됨
교재 자료
이 주제용 영상 수업 영상 페이지 열기
13:59

리소스, 컴파일러 및 RPN

브라우저, 음악 플레이어, 게임을 엽니다. 프로세서는 하나 — 혹은 몇 개의 코어가 있을 뿐 — 이지만 모두 동시에 실행되는 것 같습니다. 그리고 그들은 모두 더 많은 자원을 원합니다…

영어 내레이션 · 영어와 중국어 자막 전환 가능

이 수업의 내용

동영상 강의
어휘
English 의미
expression/ekˈspreʃn/A combination of values, variables and operators representing a quantity or a value to be evaluated.
operator/ˈɒpəreɪtə/Symbols or keywords specifying operations to perform on values or expressions.
operandsValues used by an operation to produce a result.
evaluate/ɪˈvæljuːeɪt/To work out the value of an expression.
stack/stæk/A last-in, first-out data structure in which items are added and removed at the same end.
Java Virtual MachineA system that runs Java bytecode using a stack for operations.
bytecode interpretersPrograms that read and carry out instructions written as bytecode.
postfix/ˈpəʊstfɪks/포스트픽스
precedence/ˈpresɪdəns/우선순위
grammar/ˈɡræmə/문법
syntax diagram/ˈsɪntæks ˈdaɪəɡræm/구문도
Reverse Polish Notation/rɪˈvɜːs ˈpəʊlɪʃ nəʊˈteɪʃn/역폴란드 표기법
Backus-Naur Form/ˈbækəs nɔː fɔːm/바쿠스-나우 형식
tokens/ˈtəʊkənz/The meaningful units identified during lexical analysis, such as identifiers, keywords, operators and literals.
production rules/prəˈdʌkʃn ruːlz/생성 규칙
terminal/ˈtɜːmɪnl/종결 기호
non-terminal/nɒn ˈtɜːmɪnl/비종결 기호
Recursion/rɪˈkɜːʃn/The use of a rule inside its own definition to express repetition.
identifier/aɪˈdentɪfaɪə/A name used to identify a program element such as a variable, function or class.
railroad diagramA picture that shows the valid sequences allowed by a grammar.
loop/luːp/A structure that repeats a sequence of instructions.
string/strɪŋ/A sequence of characters treated as a single data value.
Infix/ˈɪnfɪks/A way of writing expressions with each operator between its operands.
pop/pɒp/To remove and return the item at the top of a stack.
higher or equal precedenceDescribes an operator that has the same or greater priority than another.
push/pʊʃ/To add an item to the top of a stack.
stack machineA machine that uses a stack to hold values while carrying out operations.
lookahead/ˈlʊkəhed/The act of checking later items before deciding what to do with the current item.

교재 자료

로그인 또는 계정 만들기

IGCSE, A-Level & AP