Rafal Kupiec
2949c8dcfb
Fix typo.
2018-12-20 18:20:18 +01:00
Rafal Kupiec
0278f0a630
Add callback cast operator.
2018-12-13 09:31:32 +01:00
Rafal Kupiec
d65a529d21
Initial support for char data type.
2018-11-26 20:37:51 +01:00
Rafal Kupiec
174ecb2a38
Initial support for void type.
2018-11-23 09:19:37 +01:00
Rafal Kupiec
8724cebf71
Do not actually support references in the same scope.
2018-10-28 19:45:31 +01:00
Rafal Kupiec
9884f8288b
Do not allow typecasting to unset a variable.
2018-09-18 22:11:57 +02:00
Rafal Kupiec
a8a88b4746
Compile closures.
2018-08-16 18:40:23 +02:00
Rafal Kupiec
f28c671e69
Compile closures.
2018-08-16 18:31:12 +02:00
Rafal Kupiec
2c28b63d90
Properly interpret language constructs, fixes #28 .
2018-08-16 17:42:30 +02:00
Rafal Kupiec
9100bf0696
Treat 'import' as a special keyword.
2018-08-16 16:32:28 +02:00
Rafal Kupiec
b5fe36c14b
There is no need for include_once() and require_once()
...
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 .
2018-08-16 16:12:29 +02:00
Rafal Kupiec
7c7a837efb
Correct another bunch of typos.
2018-08-15 19:06:00 +02:00
Rafal Kupiec
59c15caf4e
Use something more human readable
2018-08-12 21:16:05 +02:00
Rafal Kupiec
b61fc9d3e6
Rename function to save it from typo
2018-08-11 23:21:40 +02:00
Rafal Kupiec
a4e6962a67
Free dot operator for further usage
2018-08-07 08:13:44 +02:00
Rafal Kupiec
4bbdc20174
This commit contains several changes:
...
* print() is now treated as standard function
* get rid of echo() function
* fix test suite
and it fixes #26 .
2018-08-06 17:18:27 +02:00
Rafal Kupiec
b7792dfc3d
P# is not going to derive namespace syntax from PHP, but from C++.
2018-07-30 16:55:49 +02:00
Rafal Kupiec
48b2e9d1c6
Update comments
2018-07-28 23:40:00 +02:00
Rafal Kupiec
eb088cd0d7
Correcting another typos in code
2018-07-28 12:56:19 +02:00
Rafal Kupiec
abb91a9874
Reorganize the repository for new build system
2018-07-20 22:35:09 +02:00