Skip to content

unicode

pannous edited this page Dec 25, 2023 · 4 revisions

unicode

Wasp is unicode first: Strings are UTF8 by default but in itertion can be accessed by byte, codepoint or grapheme.

uniscript

Wasp uses uniscript when entering code and when parsing code, that is :infinity is equivalent to the symbol ∞.

when typing, the colon can be ommited and as in lean you can use many shortcuts: \nat => ℕ

For entity names also see alias chains like < ⭠ less ⭠ smaller ⭠ lower

We follow the good example of Julia to make most unicode math symbols part of the language: √9 × ‖-2‖ 6

see alias

Home

Philosophy

data & code blocks

features

inventions

evaluation

keywords

iteration

tasks

examples

todo : bad ideas and open questions

⚠️ specification and progress are out of sync

Clone this wiki locally