# US 2023/0274734 A1 · Support for syntax analysis during processing instructions for execution

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0274734 A1
- Document ID: US20230274734A1
- Status: Published application
- Kind: A1
- Application number: 17/646,949
- Filed: 2022-01-04
- Published: 2023-08-31
- Earliest claimed: 2022-01-04
- Assignees: Sap SE
- Applicants: Sap SE
- Inventors: Marcos Del Puerto Garcia
- Web page: https://patentgrep.com/patent/US20230274734A1

## CPC

- G10L 15/1822: {Parsing for meaning understanding}
- G06F 40/211: Syntactic parsing, e.g. based on context-free grammar [CFG] or unification grammars
- G06F 40/284: Lexical analysis, e.g. tokenisation or collocates
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The present disclosure relates to computer-implemented methods, software, and systems for data processing of instructions requested for execution at a given version of a software system or application. One example method includes defining rules for processing instructions at a syntax analyzer of an application. The rules can include hint metadata for evaluating validity statuses of instructions at different versions of the application. An instruction that includes tokens is receive at the syntax analyzer to determine whether a token sequence corresponds to a rule from the rules. In response to determining that the token sequence corresponds to the rule and the rule is inactive for a current version of the application associated with the syntax analyzer, a second version of the application can be determined that is associated with the corresponding rule as an active rule. An indication of the second version of the application can be provided.

## Claims

### Claim 1

A computer-implemented method comprising:
defining rules for processing instructions at a syntax analyzer of an application, wherein the rules include hint metadata for evaluating validity statuses of instructions at different versions of the application;
receiving an instruction including tokens at the syntax analyzer to determine whether a token sequence corresponds to a rule from the rules; and
in response to determining that i) the token sequence corresponds to the rule and ii) the rule is inactive for a current version of the application associated with the syntax analyzer:
determining a second version of the application that is associated with the corresponding rule as an active rule; and
providing an indication of the second version of the application.

### Claim 2 (depends on 1)

The method of claim 1, wherein the second version of the application is associated with executable capabilities for executing a command defined based on the instruction.

### Claim 3 (depends on 1)

The method of claim 1, wherein instruction is provided as a string of symbols written in at least one format selected from the group consisting of a natural language, a programming language, and a data structure.

### Claim 4 (depends on 3)

The method of claim 3, wherein the instruction is a voice instruction received in an audio format, and
wherein the method comprises:
parsing the instructions based on voice recognition to identify the tokens within the voice instructions.

### Claim 5 (depends on 1)

The method of claim 1, wherein the provided indication further includes a notification that the received instruction is not executable at the current version due to a restriction defined for the instruction to be executed at the current version.

### Claim 6 (depends on 5)

The method of claim 5, wherein the restriction is associated with user or product properties defined for one or more versions of the application.

### Claim 7 (depends on 1)

The method of claim 1, wherein determining that the token sequence corresponds to the rule comprises determining that at least two tokens of the tokens define a group corresponding to the rule, wherein the at least two tokens are determined to define the group based on a predefined correlation rules for processing a sequence of tokens at the syntax analyzer.

### Claim 8 (depends on 1)

The method of claim 1, wherein the provided indication of the second version includes an annotation that includes at least one of i) information for limitations of executing the instruction at the current version of the application, ii) information how to redefine the instruction to provide a new instruction in an executable format for the current version of the application, and iii) an indication of the second version of the application as a relevant version for executing the instruction without changes.

### Claim 9 (depends on 8)

The method of claim 8, wherein the information how to redefine the instruction to provide the new instruction in the executable format comprises:
providing a clue annotation to perform at least one of redefining operation for the instructions from the group consisting of modification, replacement, and extension of the received instruction to define the new instruction that is executable at the current version of the application.

### Claim 10 (depends on 1)

The method of claim 1, the method further comprising:
receiving an identification of a user associated with the received instructions;
detemining whether the rule that corresponds to the token sequence is associated with a clue indication that defines restrictions for executing the rule at the current version of the application by the user; and
providing information indicative of the restriction.

### Claim 11

A non-transitory, computer-readable medium coupled to one or more processors and having instructions stored thereon which, when executed by the one or more processors, cause the one or more processors to perform operations, the operations comprising:
defining rules for processing instructions at a syntax analyzer of an application, wherein the rules include hint metadata for evaluating validity statuses of instructions at different versions of the application;
receiving an instruction including tokens at the syntax analyzer to determine whether a token sequence corresponds to a rule from the rules; and
in response to determining that i) the token sequence corresponds to the rule and ii) the rule is inactive for a current version of the application associated with the syntax analyzer:
determining a second version of the application that is associated with the corresponding rule as an active rule; and
providing an indication of the second version of the application.

### Claim 12 (depends on 11)

The computer-readable medium of claim 11, wherein the second version of the application is associated with executable capabilities for executing a command defined based on the instruction.

### Claim 13 (depends on 11)

The computer-readable medium of claim 11, wherein instruction is provided as a string of symbols written in at least one format selected from the group consisting of a natural language, a programming language, and a data structure.

### Claim 14 (depends on 13)

The computer-readable medium of claim 13, wherein the instruction is a voice instruction received in an audio format, and
wherein the computer-readable medium further stores instructions, which when executed by the one or more processors cause the one or more processors to perform operations comprising:
parsing the instructions based on voice recognition to identify the tokens within the voice instructions.

### Claim 15 (depends on 11)

The computer-readable medium of claim 11, wherein the provided indication further includes a notification that the received instruction is not executable at the current version due to a restriction defined for the instruction to be executed at the current version.

### Claim 16 (depends on 15)

The computer-readable medium of claim 15, wherein the restriction is associated with user or product properties defined for one or more versions of the application.

### Claim 17

A system comprising:
a computing device; and
a computer-readable storage device coupled to the computing device and having instructions stored thereon which, when executed by the computing device, cause the computing device to perform operations, the operations comprising:
defining rules for processing instructions at a syntax analyzer of an application, wherein the rules include hint metadata for evaluating validity statuses of instructions at different versions of the application;
receiving an instruction including tokens at the syntax analyzer to determine whether a token sequence corresponds to a rule from the rules; and
in response to determining that i) the token sequence corresponds to the rule and ii) the rule is inactive for a current version of the application associated with the syntax analyzer:
determining a second version of the application that is associated with the corresponding rule as an active rule; and
providing an indication of the second version of the application.

### Claim 18 (depends on 17)

The system of claim 17, wherein the second version of the application is associated with executable capabilities for executing a command defined based on the instruction.

### Claim 19 (depends on 17)

The system of claim 17, wherein instruction is provided as a string of symbols written in at least one format selected from the group consisting of a natural language, a programming language, and a data structure.

### Claim 20 (depends on 17)

The system of claim 17, wherein the instruction is a voice instruction received in an audio format, and
wherein the computer-readable storage device further stores instructions, which when executed by the computing device cause the computing device to perform operations comprising:
parsing the instructions based on voice recognition to identify the tokens within the voice instructions.
