Commit Graph

22 Commits

Author SHA1 Message Date
Rafal Kupiec 8b2086402e
Fix all compiler warnings in AerScript compiler.
The build was successful. Details
2019-06-22 11:59:43 +02:00
Rafal Kupiec bffd44a7b4
Get rid of some annoying compiler warnings.
The build was successful. Details
2019-06-17 09:51:37 +02:00
Rafal Kupiec 23900f2aed
Remove unused compiler function - PH7_CompileLangConstruct().
The build was successful. Details
In AerScript, there are no such language constructs, that have syntax similiar to functions. If so, it is just a builtin function.
2019-05-04 18:53:11 +02:00
Rafal Kupiec b36510943d
Implement 'define' statement for defining constants globally.
The build was successful. Details
2019-05-04 17:08:09 +02:00
Rafal Kupiec 03fc167be1
Proper implementation of so hated 'goto' statement.
The build was successful. Details
2019-05-03 10:35:54 +02:00
Rafal Kupiec 3be46532dd
Remove unused PH7_ErrorRecover() function.
The build was successful. Details
2019-04-24 23:38:45 +02:00
Rafal Kupiec c51b3dfa8a
Revert 89d5158d7e and a8a1a2cd51. Fix should be based on VM frames.
The build was successful. Details
2019-04-13 14:39:57 +02:00
Rafal Kupiec a8a1a2cd51
Fix variable declaration in loops.
The build has failed. Details
2019-04-11 13:28:47 +02:00
Rafal Kupiec 140bd35f93
Set proper type for all class attributes.
The build was successful. Details
2019-03-29 09:00:55 +01:00
Rafal Kupiec 65b178932a
Get rid of array() & list() for the new syntax.
The build was successful. Details
2019-03-22 15:54:46 +01:00
Rafal Kupiec 615e75fb8a
Store methods return type.
The build was successful. Details
2019-03-16 14:57:04 +01:00
Rafal Kupiec 1daf17bcd4
Correct typo.
The build was successful. Details
2018-09-04 09:07:58 +02:00
Rafal Kupiec 33523e4e8a
Block definitions for class and namespace.
The build was successful. Details
2018-08-21 19:35:00 +02:00
Rafal Kupiec f28c671e69
Compile closures.
The build was successful. Details
2018-08-16 18:31:12 +02:00
Rafal Kupiec 2c28b63d90
Properly interpret language constructs, fixes #28.
The build has failed. Details
2018-08-16 17:42:30 +02:00
Rafal Kupiec e208e778e0
Compile global scope independently, fixes #40.
The build was successful. Details
2018-08-16 11:15:03 +02:00
Rafal Kupiec be454ff7be
Rename PH7_COMPILE_SINGLE_STMT to PH7_COMPILE_STATEMENT
The build was successful. Details
2018-08-14 23:48:15 +02:00
Rafal Kupiec ece036b214
Rework the entry point
The build was successful. Details
* some functions were not used and have been removed
 * some parameters seemed to be useless and have been removed
 * code cleanup
2018-08-14 13:45:27 +02:00
Rafal Kupiec 7e3c79d3c5
Functions naming cleanup
The build was successful. Details
2018-08-13 20:16:37 +02:00
Rafal Kupiec aa6e00db27
Forward declaration for all functions.
The build was successful. Details
2018-08-12 21:58:27 +02:00
Rafal Kupiec 59c15caf4e
Use something more human readable
The build was successful. Details
2018-08-12 21:16:05 +02:00
Rafal Kupiec 6b7591a137
Move common part to compiler.h
The build was successful. Details
2018-08-12 21:11:13 +02:00