🐐 snippets
@@ -4,14 +4,12 @@ CVM FORS
|
|||||||
DESIGNA correct VT FORTIS_NVMERVS(I,C)
|
DESIGNA correct VT FORTIS_NVMERVS(I,C)
|
||||||
DESIGNA gvess VT NVLLVS
|
DESIGNA gvess VT NVLLVS
|
||||||
|
|
||||||
DVM FALSITAS FACE {
|
DVM correct EST gvess FACE {
|
||||||
DESIGNA gvess VT AVDI_NVMERVS()
|
DESIGNA gvess VT AVDI_NVMERVS()
|
||||||
SI gvess MINVS correct TVNC {
|
SI gvess MINVS correct TVNC {
|
||||||
DICE("Too low!")
|
DICE("Too low!")
|
||||||
} ALVID SI gvess PLVS correct TVNC {
|
} ALVID SI gvess PLVS correct TVNC {
|
||||||
DICE("Too high!")
|
DICE("Too high!")
|
||||||
} ALVID {
|
|
||||||
ERVMPE
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 8.7 KiB After Width: | Height: | Size: 8.9 KiB |
|
Before Width: | Height: | Size: 5.9 KiB After Width: | Height: | Size: 6.0 KiB |
|
Before Width: | Height: | Size: 7.8 KiB After Width: | Height: | Size: 8.0 KiB |
|
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 9.3 KiB After Width: | Height: | Size: 9.6 KiB |
|
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 27 KiB |
BIN
snippets/dvm.png
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 42 KiB |
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.8 KiB |
|
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 4.6 KiB |
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 19 KiB |
@@ -3,15 +3,13 @@ CVM FORS
|
|||||||
DESIGNA correct VT FORTIS_NVMERVS(I,C)
|
DESIGNA correct VT FORTIS_NVMERVS(I,C)
|
||||||
DESIGNA gvess VT NVLLVS
|
DESIGNA gvess VT NVLLVS
|
||||||
|
|
||||||
DVM FALSITAS FACE {
|
DVM correct EST gvess FACE {
|
||||||
DESIGNA gvess VT AVDI_NVMERVS()
|
DESIGNA gvess VT AVDI_NVMERVS()
|
||||||
SI gvess MINVS correct TVNC {
|
SI gvess MINVS correct TVNC {
|
||||||
DICE("Too low!")
|
DICE("Too low!")
|
||||||
} ALVID SI gvess PLVS correct TVNC {
|
} ALVID SI gvess PLVS correct TVNC {
|
||||||
DICE("Too high!")
|
DICE("Too high!")
|
||||||
} ALVID {
|
}
|
||||||
ERVMPE
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
DICE("You guessed correctly!")
|
DICE("You guessed correctly!")
|
||||||
|
Before Width: | Height: | Size: 83 KiB After Width: | Height: | Size: 87 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 4.8 KiB |
|
Before Width: | Height: | Size: 6.4 KiB After Width: | Height: | Size: 6.7 KiB |
BIN
snippets/per.png
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 9.1 KiB After Width: | Height: | Size: 9.3 KiB |
|
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 5.2 KiB |
@@ -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: '(?<![IVXLCDM_])(?:S[S:.|]+|:[S:.|]+)'
|
|
||||||
scope: constant.numeric.fraction.centvrion
|
|
||||||
|
|
||||||
numerals:
|
|
||||||
- match: '\b[IVXLCDM][IVXLCDM_]*\b'
|
|
||||||
scope: constant.numeric.centvrion
|
|
||||||
|
|
||||||
constants:
|
|
||||||
- match: '\b(VERITAS|FALSITAS|NVLLVS)\b'
|
|
||||||
scope: constant.language.centvrion
|
|
||||||
|
|
||||||
builtins:
|
|
||||||
- match: '\b(AVDI_NVMERVS|AVDI|DICE|FORTIS_NVMERVS|FORTIS_ELECTIONIS|LONGITVDO)\b'
|
|
||||||
scope: support.function.builtin.centvrion
|
|
||||||
|
|
||||||
modules:
|
|
||||||
- match: '\b(FORS|FRACTIO|MAGNVM|SVBNVLLA)\b'
|
|
||||||
scope: support.class.module.centvrion
|
|
||||||
|
|
||||||
keywords:
|
|
||||||
- match: '\b(ALVID|AVT|DEFINI|DESIGNA|DONICVM|DVM|ERVMPE|EST|ET|FACE|INVOCA|IN|MINVS|NON|PER|PLVS|REDI|SI|TVNC|VSQVE|VT|CVM)\b'
|
|
||||||
scope: keyword.control.centvrion
|
|
||||||
|
|
||||||
operators:
|
|
||||||
- match: '[+\-*/&]'
|
|
||||||
scope: keyword.operator.centvrion
|
|
||||||
|
|
||||||
identifiers:
|
|
||||||
- match: '[abcdefghiklmnopqrstvxyz_]+'
|
|
||||||
scope: variable.other.centvrion
|
|
||||||
@@ -10,11 +10,11 @@ contexts:
|
|||||||
- include: comments
|
- include: comments
|
||||||
- include: strings
|
- include: strings
|
||||||
- include: fractions
|
- include: fractions
|
||||||
|
- include: keywords
|
||||||
- include: numerals
|
- include: numerals
|
||||||
- include: constants
|
- include: constants
|
||||||
- include: builtins
|
- include: builtins
|
||||||
- include: modules
|
- include: modules
|
||||||
- include: keywords
|
|
||||||
- include: operators
|
- include: operators
|
||||||
- include: identifiers
|
- include: identifiers
|
||||||
|
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 6.1 KiB |