From 2f04b070df52fda78f2f60b22734de2473420403 Mon Sep 17 00:00:00 2001 From: Artemy Date: Sun, 24 Dec 2023 18:55:22 +0300 Subject: [PATCH] Update literals.md --- src/specification/tokens/kinds/literals.md | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/src/specification/tokens/kinds/literals.md b/src/specification/tokens/kinds/literals.md index 8c8840d..88f09c0 100644 --- a/src/specification/tokens/kinds/literals.md +++ b/src/specification/tokens/kinds/literals.md @@ -6,17 +6,18 @@ In SymboScript exists only three kinds of token literals: strings, numbers, bool Strings are enclosed in double quotes, single quotes or backticks. -```ts -"hello"; -"hello"`hello`; -("hello\nworld"); -('hello"world'); -("hello ' world"); +```symboscript +"hello" +"hello" +`hello` +"hello\nworld" +'hello"world' +"hello ' world" ``` ## Numbers -```ts +```symboscript 1 .1 1.1 1e1 @@ -27,7 +28,7 @@ Strings are enclosed in double quotes, single quotes or backticks. ## Booleans -```ts -true; -false; +```symboscript +true +false ```