Update literals.md

This commit is contained in:
Artemy 2023-12-24 18:55:22 +03:00
parent 171cac9296
commit 2f04b070df

View file

@ -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. Strings are enclosed in double quotes, single quotes or backticks.
```ts ```symboscript
"hello"; "hello"
"hello"`hello`; "hello"
("hello\nworld"); `hello`
('hello"world'); "hello\nworld"
("hello ' world"); 'hello"world'
"hello ' world"
``` ```
## Numbers ## Numbers
```ts ```symboscript
1 .1 1 .1
1.1 1.1
1e1 1e1
@ -27,7 +28,7 @@ Strings are enclosed in double quotes, single quotes or backticks.
## Booleans ## Booleans
```ts ```symboscript
true; true
false; false
``` ```