mung/database_dsdb.py
cecilkorik dcaeb7145f refactored massive language file, separating into language_types and bytecode
tests for parser and virtualmachine now work!
Running test.moo is now able to successfully call built-in functions

--HG--
branch : mung
2015-09-23 14:38:03 -06:00

11 lines
226 B
Python

# Dead Simple Database
class DSDB_Database(Database):
def __init__(self, dbname):
self.dbname = dbname
self.fn = "%s.dsdb" % (dbname,)
self.load_from_file()
def load_from_file(self):
fd = open(self.fn, 'rb')
fd