Introduction
Welcome to the release of Expression parser version 1x4.
This is going to be a short thread as all the necessary information can be found in my other threads created about ep, they can be seen at the bottom of this page.
What is Expression Parser?
Ep, which by the way is short for Expression Parser, is a new scripting language created for the sole purpose of being used by MPGH members exclusively. It's meant to work along the side of C++, meaning you can directly use ep in your C++ Applications by simply including the ep headers and libraries. The now improved C++ portability means you can have ep arguments (variable_list) automatically deduced into arguments at C++ compile time.
I wanna learn more, how does it work?
Expression Parser Theoretical Introduction
Expression Parser Practical and Syntactical Introduction
Changelog
Version 1x2
Version 1x3
Code:
- You can now include files with the import keyword, by simply using "" operator.
Example:
import "myfile.ep";
- Cleaned up some module code.
- Fixed a logical error inside of the optimizer.
(It optimized correctly, but after said optimization the cursor would be at the wrong position)
- Fixed bug in the engine constructor leading to undefined behaviour.
- Fixed fake conversion bug in ostream::put and ostream::putln.
(It would always throw a conversion error)
Version 1x4
Code:
- Fixed another optmization bug where dead code optmization would only remove the first type of dead code.
e.g:
5 + 5;
6 + 5;
would optimize to:
6 +5;
when really there should be no blocks left.
- Added plugins (aka import modules)
Recommended usage:
use function ep::load_plugins to load multiple plugins at once (e.g ep::module( ep::load_plugins( "v1", "v2" )))
A plugin must contain the following functions:
exern "C" __declspec(dllexport) void load_plugin( dispatch_engine_ptr );
exern "C" __declspec(dllexport) const char *get_name( );
- FINALLY FIXED OPERATOR -> GLITCHES, YOU CAN NOW USE IT HOWEVER THE
YOU DESIRE. FK YEA.
Virus scans:
https://www.virustotal.com/en/file/7...is/1475669744/.
https://virusscan.jotti.org/en-US/fi...job/wl3vvod0qg.
Sincerely,
Yamiez.