From 396685999cca865b9ea110d8cb461373a962ebe9 Mon Sep 17 00:00:00 2001 From: Flavian Kaufmann Date: Wed, 21 May 2025 07:48:44 +0200 Subject: doc fix --- README.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index a86f2df..bbab9ef 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ A small interpreter of the IMP programming language. [Syntax](/res/syntax.ebnf) -**Statement ** +**Statement ``** Variable assignment: - ` := ` any variable not assigned, has the value 0. @@ -33,17 +33,17 @@ Control flow: - `skip`, nop **Expression** -Arithmetic Expression : +Arithmetic Expression ``: - `` - `` -- `( + ) -- `( - ) -- `( + ) - -Boolean Expression : -- `not -- `( or ) -- `( and ) +- `( + )` +- `( - )` +- `( + )` + +Boolean Expression ``: +- `not ` +- `( or )` +- `( and )` - ` = ` - ` # ` not equals - ` < ` @@ -51,8 +51,8 @@ Boolean Expression : - ` > ` - ` >= ` -**Variable ** +**Variable ``** - `[a-zA-Z][A-Za-z0-9]*` -**Numeral ** +**Numeral ``** - `[0-9]+` -- cgit v1.2.3