Skip to content
  • HELP
  • PARSE_ERROR - Reserved Keyword

Error code: PARSE_ERROR - Reserved Keyword

This guide explains why you may experience a reserved keyword issue and how to solve it.

Consider the following example where you define a relation called module:

def module = {("house"); ("garden")}
Error example from the RAI Console

This definiton returns a parse error due to the use of a reserved keyword (module) as a relation name. Relations cannot be named using Rel reserved keywords.

Note that the RAI Console helps you detect this by displaying all reserved keywords in a single color.

You need to use a different naming to solve the problem. For instance:

def place = {("house"); ("garden")}
Was this doc helpful?