Add server-side tokenizer #185

Merged
lars.winzer merged 16 commits from feat/tokenizer into main 2026-03-15 13:52:51 +01:00
lars.winzer commented 2026-03-15 13:50:42 +01:00 (Migrated from git.scicore.unibas.ch)

Added the server-side tokenizer, consisting of two stages.

  1. Tokenizer: Tokenize the given String into RawTokens. Check for basic syntax violations like unescaped strings.
  2. TokenizerClassifier: Classifies the RawTokens of the Tokenizer and gives them meaning (COMMAND, KEY, VALUE). Applies further checks regarding that a seperator has both an KEY and a VALUE.

Additionally the State and the TokenizerException are covered by unit tests.

However, the Tokenizer and TokenizerClassifier are currently NOT covered (see #4).

Added the server-side tokenizer, consisting of two stages. 1. Tokenizer: Tokenize the given String into RawTokens. Check for basic syntax violations like unescaped strings. 2. TokenizerClassifier: Classifies the RawTokens of the Tokenizer and gives them meaning (COMMAND, KEY, VALUE). Applies further checks regarding that a seperator has both an KEY and a VALUE. Additionally the State and the TokenizerException are covered by unit tests. However, the Tokenizer and TokenizerClassifier are currently NOT covered (see #4).
lars.winzer commented 2026-03-15 13:52:51 +01:00 (Migrated from git.scicore.unibas.ch)

mentioned in commit 61f0a23bfa

mentioned in commit 61f0a23bfa859ece47947dc2b439beb0ea16cd4d
lars.winzer (Migrated from git.scicore.unibas.ch) merged commit 61f0a23bfa into main 2026-03-15 13:52:51 +01:00
This repo is archived. You cannot comment on pull requests.
No Reviewers
1 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: University-of-Basel-Studentprojects/Programmierprojekt#185