Invention Grant
- Patent Title: Automated evaluation of grammars
- Patent Title (中): 自动评估语法
-
Application No.: US14569445Application Date: 2014-12-12
-
Publication No.: US09304747B1Publication Date: 2016-04-05
- Inventor: Bjoern Mielenhausen , Felix Zengerle
- Applicant: Bjoern Mielenhausen , Felix Zengerle
- Applicant Address: DE Walldorf
- Assignee: SAP SE
- Current Assignee: SAP SE
- Current Assignee Address: DE Walldorf
- Agency: Schwegman Lundberg & Woessner, P.A.
- Main IPC: G06F9/45
- IPC: G06F9/45 ; G06F9/44

Abstract:
A method for automating evaluation of grammars associated with one or more programming languages is disclosed. The computer system accesses first grammar data associated with a first grammar and second grammar data associated with a second grammar, wherein a grammar comprises one or more rules that define a programming language. The computer system determines from the first grammar data and the second grammar data whether the first grammar and the second grammar correspond to the same programming language. Determining further includes applying one or more transformational steps to both the first grammar data and the second grammar data. After each transformational step, the computer system determines whether the first and second grammar data correspond. In accordance with a determination that the first grammar data and the second grammar data correspond, the computer system determines that the first and second grammar both correspond to the same programming language.
Information query