Rafal Kupiec
b5fe36c14b
The build was successful.
Details
Aer is object-oriented language and the code it includes is executed in the global scope. Global scope can contain only classes and namespaces and they cannot be re-declared. Thus every file can be included just once. We can leave this to programmer, or take care about it on interpreter side. With this commit, include() and require() builtin functions allows to load file just once. Thanks to that, there is no need for include_once() and require_once(). Done in scope of #30. |
||
---|---|---|
.. | ||
lib | ||
api.c | ||
builtin.c | ||
compiler.c | ||
constant.c | ||
hashmap.c | ||
lexer.c | ||
memobj.c | ||
oop.c | ||
parser.c | ||
vfs.c | ||
vm.c |