Files
Sheerka-Old/_concepts_python.txt
T
kodjo 646c428edb Fixed #30 : Add variable support in BNF concept definition
Fixed #31 : Add regex support in BNF Concept
Fixed #33 : Do not memorize object during restore
2021-02-24 17:23:03 +01:00

6 lines
369 B
Plaintext

def concept x is a string pre is_question() as isinstance(x, str)
def concept x is a int pre is_question() as isinstance(x, int)
def concept x is a integer pre is_question() as isinstance(x, int)
def concept x starts with y pre is_question() where x is a string as x.startswith(y)
def concept sha256 from bnf r'[a-f0-9]{64}'
def concept sha512 from bnf r'[a-f0-9]{128}'