Commit Graph

  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • |\
  • * |
  • | *
  • |/
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • f323e3c (HEAD -> master) Make a use from PH7_MemObjIsHashmap(). by belliash 2019-09-10 14:12:07 +0200
  • 426ec93 Implement MemObjIsHashmap(). by belliash 2019-09-10 10:55:54 +0200
  • 3aa31a9 Make a use from MemObjIsNumeric(). by belliash 2019-09-10 10:10:52 +0200
  • f0aba06 Allow increment/decrement operations only on numeric operands. by belliash 2019-09-10 08:03:35 +0200
  • 18b9606 Do not allow to call non-existen array/string index. PHP returns a NULL for each call to non-existen array element, while AerScript design disallows usage of indexes outside the bounds. This fixes one of most serious PHP problems. by belliash 2019-09-09 16:55:48 +0200
  • 91887c0 Do not try to access non-existen string index. by belliash 2019-09-07 20:07:46 +0200
  • 3b9d91f Revert 3dcc908788. by belliash 2019-08-29 14:23:33 +0200
  • 0fb44bb GitHub Funding. by belliash 2019-08-23 13:48:56 +0200
  • d2335c8 (tag: v0.1.0, release/v0.1.0) Base32::decode() cannot return boolean values. by Piotr Likoski 2019-07-12 17:05:27 +0200
  • 843c2d6 I am pretty sure we want to use the number of elements in array in this place, not the actual size of array. The size of a structure is greater than the sum of its parts because of what is called packing. A particular processor has a preferred data size that it works with. Most modern processors' preferred size if 32-bits (4 bytes). by Piotr Likoski 2019-07-12 14:36:56 +0200
  • 33b0f20 Check the snprintf() return value. by Piotr Likoski 2019-07-12 14:10:09 +0200
  • d96dcdf Little build warning removal by David Carlier 2019-07-11 07:17:34 +0000
  • a09c6b3 Fix for index outside the bounds. by belliash 2019-07-01 21:08:07 +0200
  • 4d150c2 No way this is working! by belliash 2019-07-01 21:03:45 +0200
  • c94de60 Properly implement tests. by belliash 2019-07-01 20:07:06 +0200
  • 376b951 Fix typos, formatting. by belliash 2019-06-30 14:13:35 +0200
  • ad49b81 Add support for HTTP/2.0 protocol version. by belliash 2019-06-30 09:51:15 +0200
  • 4afcbc0 Extend singleton test. by belliash 2019-06-29 16:04:15 +0200
  • 171456b Release all elements in object allocation table. by belliash 2019-06-29 15:54:05 +0200
  • 204060f Implement TAU. by belliash 2019-06-29 14:21:29 +0200
  • 616b2ee Cleanup the headers a bit. by belliash 2019-06-29 11:50:01 +0200
  • 563c10b Do not omit floating point. by belliash 2019-06-29 11:41:37 +0200
  • 2e695a9 Link dynamically with libC. by belliash 2019-06-29 11:15:03 +0200
  • 2ef2b62 Never disable IO library. by belliash 2019-06-29 11:10:50 +0200
  • a6d89da Do not support old libC. by belliash 2019-06-28 19:43:23 +0200
  • 48d5088 Enable the magic number protection. by belliash 2019-06-27 22:57:08 +0200
  • 3dcc908 Enable threading. by belliash 2019-06-27 20:52:37 +0200
  • 4881ddf Pass compatible pointer type. by belliash 2019-06-27 20:44:50 +0200
  • 312fb97 Another FS-related bugfix to make compiler happy. by belliash 2019-06-25 20:25:56 +0200
  • 0a2f113 Do not use pointer for file path. by belliash 2019-06-25 20:10:27 +0200
  • 647454b Another signedness correction. by belliash 2019-06-22 20:45:22 +0200
  • 72782b1 Do not convert between data pointers and function pointers. by belliash 2019-06-22 12:35:33 +0200
  • edb62ed Correct signedness. by belliash 2019-06-22 12:34:49 +0200
  • 8b20864 Fix all compiler warnings in AerScript compiler. by belliash 2019-06-22 11:59:43 +0200
  • 8ee2dec Test NULL-coalescing operator. by belliash 2019-06-21 23:53:01 +0200
  • dcf37af Implement a NULL-coalescing '??' operator. by belliash 2019-06-21 00:34:41 +0200
  • 6d964d6 Add missing declaration for PH7_MemObjIsNull() function. by belliash 2019-06-21 00:30:35 +0200
  • 3045bd2 Update lexer. Add missing operators. by belliash 2019-06-20 14:30:49 +0200
  • 19d0628 Do not try to duplicate an array when source equals to destination. by belliash 2019-06-20 13:36:30 +0200
  • 59811ac Completely rely on the compiler. by belliash 2019-06-20 12:10:02 +0200
  • e40dc34 Pass proper line number from compiler to the virtual machine. by belliash 2019-06-20 12:07:47 +0200
  • c76ae15 Disable undefined behavior sanitizer. by belliash 2019-06-20 00:19:52 +0200
  • a1f1d50 Allow to use compiler's sanitizer. This fixes #53. by belliash 2019-06-19 17:38:36 +0200
  • ca51e2a Add comments. by belliash 2019-06-19 10:14:01 +0200
  • bd24aa0 Correct more compiler warnings. by belliash 2019-06-19 09:31:40 +0200
  • 690213e Do not use a pointer for temporary value. by belliash 2019-06-18 13:25:40 +0200
  • 0be3839 Correct variable types, to make compiler silent. by belliash 2019-06-17 14:28:03 +0200
  • bffd44a Get rid of some annoying compiler warnings. by belliash 2019-06-17 09:51:37 +0200
  • 173bac1 Add missing definitions. by belliash 2019-06-16 19:54:42 +0200
  • b3eb2d0 Include missing header. by belliash 2019-06-16 08:41:42 +0200
  • 050a637 Add missing declarations. by belliash 2019-06-16 08:31:43 +0200
  • 8d0c128 Fix comparison of integer expressions of different signedness. by belliash 2019-06-16 00:37:20 +0200
  • c7b6e76 Get rid of unused variables/labels/etc. by belliash 2019-06-16 00:33:03 +0200
  • 1a91fed Proper SXUNUSED() macro implementation. by belliash 2019-06-16 00:10:27 +0200
  • fffce10 Test for implicitly typed declarations. by belliash 2019-06-15 23:44:10 +0200
  • ace4d56 The '-Og' is a better choice than '-O0' for producing debuggable code because some compiler passes that collect debug information are disabled at '-O0'. by belliash 2019-06-15 18:12:27 +0200
  • 8985044 Remove some unused variables. by belliash 2019-06-15 17:43:24 +0200
  • 77150e9 Enable some code diagnostics. by belliash 2019-06-15 17:20:51 +0200
  • aff19a9 Fibonacci sequence in AerScript implementation. by belliash 2019-06-14 22:52:02 +0200
  • 010bdd7 Properly destroy temporary memory object. Fix memory leak. by belliash 2019-06-14 17:16:41 +0200
  • 0bef248 Implement PH7_VmDestroyMemObj() to forcibly destroy a memory object. by belliash 2019-06-14 17:11:34 +0200
  • d09a33d Do not duplicate variable name in this case. This should save a lot of memory on many method calls. by belliash 2019-06-14 10:17:50 +0200
  • 673796d Add missing function description. by belliash 2019-06-13 08:04:58 +0200
  • ea94821 Merge 'master' branch. by belliash 2019-06-12 18:56:04 +0200
  • 4723128 Implement PH7_MemObjIsNull(). by belliash 2019-06-12 18:55:41 +0200
  • da2e74b Revert commit 815b1481fc. by belliash 2019-06-12 09:53:13 +0200
  • 0ef6b44 Make a free slot in operator precedence for NULL-coalescing operator. by belliash 2019-06-11 09:35:47 +0200
  • 815b148 Permit a discontiguous stack which is grown automatically as needed. The stack will have a guaranteed zone which is always available. The size of the guard area will be target specific. It will include enough stack space to actually allocate more stack space. Each function will have to verify that it has enough space in the current stack to execute. by belliash 2019-06-10 20:06:25 +0200
  • 5c824ec Do not set any recursion depth limit. by belliash 2019-06-10 12:11:55 +0200
  • 9aa192d Remove unused argument from PH7_MemObjInitFromVoid(). by belliash 2019-06-08 14:36:24 +0200
  • fdba2c0 Set data type to void, not just NULL. by belliash 2019-06-08 13:59:44 +0200
  • 6c277c1 Allow implicitly-typed variable declarations inside 'for' and 'foreach' loops. by belliash 2019-06-08 13:35:16 +0200
  • 0327c31 Do not allow to initialize an implicitly-typed variable with an array initializer. by belliash 2019-06-08 13:09:35 +0200
  • 78c416c Implement the implicit 'auto' type. An implicitly typed local variable is strongly typed just as if it had been declared the type, but the compiler determines the type. The following two declarations of $i are functionally equivalent: int $i = 10; // Explicitly typed. auto $i = 10; // Implicitly typed. by belliash 2019-06-08 12:55:57 +0200
  • cbe4f29 Define 'auto' keyword. by belliash 2019-06-08 12:19:00 +0200
  • a00d30a Set NULL data type instead of throwing an error. by belliash 2019-06-08 09:14:16 +0200
  • 65aaf7b Correct error message. by belliash 2019-06-07 19:32:28 +0200
  • 43a1f13 Set correct variable type if NULL or not set at all. by belliash 2019-06-07 18:57:02 +0200
  • 343c25c Fix for the segmentation fault. by belliash 2019-06-07 16:18:16 +0200
  • 46458d1 Prefix variable name by dollar '$' sign. by belliash 2019-06-07 16:16:56 +0200
  • 543191c New test for 'is' statement. by belliash 2019-06-07 13:19:50 +0200
  • 6c449db Allow OP_IS to check for type def and value. by belliash 2019-06-07 12:33:56 +0200
  • fa5c2e1 Parse the OP_IS instruction. by belliash 2019-06-07 10:11:30 +0200
  • dbd39be Allow the array typedef constructs to be used not only when declaring a variable. by belliash 2019-06-07 09:43:11 +0200
  • a5af1d4 Compile the typedef for OP_IS instruction. by belliash 2019-06-07 09:37:40 +0200
  • ce851b5 Do not try to load constant on OP_IS. by belliash 2019-06-06 20:32:12 +0200
  • b15d0d3 Improve operator precedence. by belliash 2019-06-06 12:38:11 +0200
  • 734710a Rename 'instanceof' to 'is'. by belliash 2019-06-06 12:35:35 +0200
  • d0995a4 Rename 'instanceof' to 'is'. by belliash 2019-06-06 11:53:17 +0200
  • 24c7597 Correct the condition. by belliash 2019-06-05 19:15:47 +0200
  • 9cc0f20 Report an error when trying to create an instance on interface or virtual class. by belliash 2019-06-05 17:41:47 +0200
  • 5948c3a Remove unused function argument. by belliash 2019-06-05 17:30:17 +0200
  • 075f707 Allow 'catch' and 'finally' blocks to abort script execution. by belliash 2019-06-05 12:46:23 +0200
  • 3715b1b Extend the exception test. by belliash 2019-06-05 08:23:13 +0200
  • 4267bb2 Execute the 'finally' block when to exception has been thrown. by belliash 2019-06-05 07:55:52 +0200
  • 384b057 Release the bytecode container and make sure the 'finally' block will not be executed anymore. by belliash 2019-06-04 19:53:39 +0200
  • 1014539 Execute the compiled 'finally' block. by belliash 2019-06-04 19:42:48 +0200
  • ba43269 Do not release the bytecode container right after code execution. by belliash 2019-06-04 19:34:17 +0200
  • bb20f04 Implement VmExecFinallyBlock(). by belliash 2019-06-04 19:30:07 +0200
  • c3184eb Return a VmByteCodeExec() return value from inside a PH7_VmCallUserFunction(). by belliash 2019-06-04 13:08:51 +0200