diff --git a/examples/guessing.cent b/examples/guessing.cent index 6077350..a3a2ff8 100644 --- a/examples/guessing.cent +++ b/examples/guessing.cent @@ -4,14 +4,12 @@ CVM FORS DESIGNA correct VT FORTIS_NVMERVS(I,C) DESIGNA gvess VT NVLLVS -DVM FALSITAS FACE { +DVM correct EST gvess FACE { DESIGNA gvess VT AVDI_NVMERVS() SI gvess MINVS correct TVNC { DICE("Too low!") } ALVID SI gvess PLVS correct TVNC { DICE("Too high!") - } ALVID { - ERVMPE } } diff --git a/snippets/alvid.png b/snippets/alvid.png index 649f9dd..b2883e2 100644 Binary files a/snippets/alvid.png and b/snippets/alvid.png differ diff --git a/snippets/alvid_si.png b/snippets/alvid_si.png index ded4e95..07895cb 100644 Binary files a/snippets/alvid_si.png and b/snippets/alvid_si.png differ diff --git a/snippets/array_index.png b/snippets/array_index.png index 4724f89..c5bfa6d 100644 Binary files a/snippets/array_index.png and b/snippets/array_index.png differ diff --git a/snippets/array_literal.png b/snippets/array_literal.png index 01e6827..4cb2b82 100644 Binary files a/snippets/array_literal.png and b/snippets/array_literal.png differ diff --git a/snippets/array_vsqve.png b/snippets/array_vsqve.png index 18b6b1a..56e098e 100644 Binary files a/snippets/array_vsqve.png and b/snippets/array_vsqve.png differ diff --git a/snippets/boolean_ops.png b/snippets/boolean_ops.png index 60bc3d4..7702cf5 100644 Binary files a/snippets/boolean_ops.png and b/snippets/boolean_ops.png differ diff --git a/snippets/dice.png b/snippets/dice.png index 6fe5b8a..f6f303a 100644 Binary files a/snippets/dice.png and b/snippets/dice.png differ diff --git a/snippets/donicvm.png b/snippets/donicvm.png index d3e0f8f..42afcd3 100644 Binary files a/snippets/donicvm.png and b/snippets/donicvm.png differ diff --git a/snippets/dvm.png b/snippets/dvm.png index 09b4ccd..28ec9e1 100644 Binary files a/snippets/dvm.png and b/snippets/dvm.png differ diff --git a/snippets/fibonacci.png b/snippets/fibonacci.png index 7868f84..fedf449 100644 Binary files a/snippets/fibonacci.png and b/snippets/fibonacci.png differ diff --git a/snippets/fors.png b/snippets/fors.png index e89a3c4..9056139 100644 Binary files a/snippets/fors.png and b/snippets/fors.png differ diff --git a/snippets/fractio.png b/snippets/fractio.png index 4c9c7fe..045ed7c 100644 Binary files a/snippets/fractio.png and b/snippets/fractio.png differ diff --git a/snippets/function.png b/snippets/function.png index 574b8cb..c63b0a1 100644 Binary files a/snippets/function.png and b/snippets/function.png differ diff --git a/snippets/guessing.cent b/snippets/guessing.cent index d27a817..48d412a 100644 --- a/snippets/guessing.cent +++ b/snippets/guessing.cent @@ -3,15 +3,13 @@ CVM FORS DESIGNA correct VT FORTIS_NVMERVS(I,C) DESIGNA gvess VT NVLLVS -DVM FALSITAS FACE { - DESIGNA gvess VT AVDI_NVMERVS() - SI gvess MINVS correct TVNC { - DICE("Too low!") - } ALVID SI gvess PLVS correct TVNC { - DICE("Too high!") - } ALVID { - ERVMPE - } +DVM correct EST gvess FACE { + DESIGNA gvess VT AVDI_NVMERVS() + SI gvess MINVS correct TVNC { + DICE("Too low!") + } ALVID SI gvess PLVS correct TVNC { + DICE("Too high!") + } } -DICE("You guessed correctly!") +DICE("You guessed correctly!") \ No newline at end of file diff --git a/snippets/guessing.png b/snippets/guessing.png index 1966c30..8e455f9 100644 Binary files a/snippets/guessing.png and b/snippets/guessing.png differ diff --git a/snippets/hello_world.png b/snippets/hello_world.png index 9b62cc3..366b3c5 100644 Binary files a/snippets/hello_world.png and b/snippets/hello_world.png differ diff --git a/snippets/magnvm.png b/snippets/magnvm.png index c837444..94bebc8 100644 Binary files a/snippets/magnvm.png and b/snippets/magnvm.png differ diff --git a/snippets/module_decl.png b/snippets/module_decl.png index 6cb3bf1..f5340f2 100644 Binary files a/snippets/module_decl.png and b/snippets/module_decl.png differ diff --git a/snippets/per.png b/snippets/per.png index 3503763..395347e 100644 Binary files a/snippets/per.png and b/snippets/per.png differ diff --git a/snippets/si_tvnc.png b/snippets/si_tvnc.png index 6363fee..fc09b19 100644 Binary files a/snippets/si_tvnc.png and b/snippets/si_tvnc.png differ diff --git a/snippets/string_concat.png b/snippets/string_concat.png index 56d9c47..c1ea364 100644 Binary files a/snippets/string_concat.png and b/snippets/string_concat.png differ diff --git a/snippets/string_literal.png b/snippets/string_literal.png index 9f1361d..cc21bec 100644 Binary files a/snippets/string_literal.png and b/snippets/string_literal.png differ diff --git a/snippets/svbnvlla.png b/snippets/svbnvlla.png index a7e67ad..fb4bad9 100644 Binary files a/snippets/svbnvlla.png and b/snippets/svbnvlla.png differ diff --git a/snippets/syntax/centvrion.sublime-syntax b/snippets/syntax/centvrion.sublime-syntax deleted file mode 100644 index 700ccda..0000000 --- a/snippets/syntax/centvrion.sublime-syntax +++ /dev/null @@ -1,77 +0,0 @@ -%YAML 1.2 ---- -name: Centvrion -file_extensions: - - cent -scope: source.centvrion - -contexts: - main: - - include: comments - - include: strings - - include: fractions - - include: numerals - - include: constants - - include: builtins - - include: modules - - include: keywords - - include: operators - - include: identifiers - - comments: - - match: '//[^\n]*' - scope: comment.line.centvrion - - match: '/\*' - scope: comment.block.centvrion - push: - - meta_scope: comment.block.centvrion - - match: '\*/' - pop: true - - strings: - - match: '"' - scope: string.quoted.double.centvrion - push: - - meta_scope: string.quoted.double.centvrion - - match: '"' - pop: true - - match: "'" - scope: string.quoted.single.centvrion - push: - - meta_scope: string.quoted.single.centvrion - - match: "'" - pop: true - - fractions: - - match: '\b[IVXLCDM][IVXLCDM_]*(?:S[S:.|]*|:[S:.|]+|\.[S:.|]*)' - scope: constant.numeric.fraction.centvrion - - match: '(?