fist version of the lexer

This commit is contained in:
2019-10-22 19:02:51 +02:00
parent 8f1c2ed818
commit 913cd3c0b3
8 changed files with 368 additions and 3 deletions
+1 -2
View File
@@ -12,8 +12,7 @@ class Concept:
self.is_builtin = is_builtin
self.pre = None # list of pre conditions before calling the main function
self.post = None # list of post conditions after calling the main function
self.main = None # main method
self.value = None # value of the concept
self.main = None # main method, can also be the value of the concept
self.id = Concept.concepts_id
Concept.concepts_id = Concept.concepts_id + 1