Skip to content

SYNG1010 - Unprocessed character

Domain: sexp
Severity: USER

A character cannot begin any valid token.

The parser encountered a character that cannot start an identifier, number, string, pattern, or other token type.

Example

clojure
(call `foo)

The backtick character cannot start a token in this context.

Solution

Remove or replace the invalid character. Valid token starters include:

  • Letters and _ for identifiers
  • " for strings
  • / for patterns
  • Digits and - for numbers
  • ( and ) for lists
  • ; for comments

SYNG1004

Copyright © 2022-present Semantic Works, Inc.