Graf commitů

112 Commity

Autor SHA1 Zpráva Datum
ab36234ff3 Add beaufort cipher test.
Všechny kontroly byly úspěšné
The build was successful.
2019-12-17 14:41:27 +01:00
ad5784f81f Reimplement import() builtin function as a global-scope statement. This fixes #58.
Všechny kontroly byly úspěšné
The build was successful.
2019-12-14 23:30:38 +01:00
0e757111a3 Add 'include' & 'require' statements test.
Všechny kontroly byly úspěšné
The build was successful.
2019-12-10 19:21:27 +01:00
91887c0185 Do not try to access non-existen string index.
Všechny kontroly byly úspěšné
The build was successful.
2019-09-07 20:07:46 +02:00
Piotr Likoski
d2335c86b2 Base32::decode() cannot return boolean values.
Všechny kontroly byly úspěšné
The build was successful.
2019-07-12 17:05:27 +02:00
a09c6b3fad Fix for index outside the bounds.
Všechny kontroly byly úspěšné
The build was successful.
2019-07-01 21:08:07 +02:00
4d150c2fe3 No way this is working!
Všechny kontroly byly úspěšné
The build was successful.
2019-07-01 21:03:45 +02:00
c94de60c29 Properly implement tests.
Všechny kontroly byly úspěšné
The build was successful.
2019-07-01 20:07:06 +02:00
4afcbc0815 Extend singleton test.
Všechny kontroly byly úspěšné
The build was successful.
2019-06-29 16:04:15 +02:00
8ee2dece06 Test NULL-coalescing operator.
Všechny kontroly byly úspěšné
The build was successful.
2019-06-21 23:53:01 +02:00
fffce10ba8 Test for implicitly typed declarations.
Všechny kontroly byly úspěšné
The build was successful.
2019-06-15 23:44:10 +02:00
aff19a98da Fibonacci sequence in AerScript implementation.
Všechny kontroly byly úspěšné
The build was successful.
2019-06-14 22:52:02 +02:00
543191c1b2 New test for 'is' statement.
Všechny kontroly byly úspěšné
The build was successful.
2019-06-07 13:19:50 +02:00
3715b1b53d Extend the exception test.
Všechny kontroly byly úspěšné
The build was successful.
2019-06-05 08:23:13 +02:00
101453950e Execute the compiled 'finally' block.
Všechny kontroly byly úspěšné
The build was successful.
2019-06-04 19:42:48 +02:00
84b5fd2717 Test 'finally' block compiler.
Všechny kontroly byly úspěšné
The build was successful.
2019-06-04 07:39:30 +02:00
3184b95a09 Do not use 'self' construct referring to current class.
Všechny kontroly byly úspěšné
The build was successful.
2019-06-03 12:23:42 +02:00
3689a0239a Lets test access to derived attributes.
Všechny kontroly byly úspěšné
The build was successful.
2019-05-31 10:18:17 +02:00
fd278b1f47 Test static class.
Všechny kontroly byly úspěšné
The build was successful.
2019-05-30 13:08:35 +02:00
d924d41a7a Do not unset $this.
Všechny kontroly byly úspěšné
The build was successful.
Let the garbage collector do its job and fix the test.
2019-05-29 13:53:52 +02:00
675f3596a1 Properly look for method in all classes.
Všechny kontroly byly úspěšné
The build was successful.
2019-05-29 06:12:49 +02:00
1175219ad4 Temporarily fix test.
Všechny kontroly byly úspěšné
The build was successful.
2019-05-28 13:40:34 +02:00
d8db20e9bd Do not use as variable name.
Všechny kontroly byly úspěšné
The build was successful.
2019-05-21 21:36:08 +02:00
1f78547ca2 Convert DOS2UNIX.
Všechny kontroly byly úspěšné
The build was successful.
2019-05-21 21:34:14 +02:00
55acf8111f Assume private visibility for all class members by default.
Všechny kontroly byly úspěšné
The build was successful.
In most (all?) modern OOP languages class members visibility is assumed to be private and programmer has to consciously set it to public or protected. PHP has the different approach what can cause a security flaws in written scripts. AerScript will not follow this way, as it seems to be conceptually broken.
2019-05-17 08:40:41 +02:00
c4416ef631 Fix singleton test.
Všechny kontroly byly úspěšné
The build was successful.
2019-05-08 11:05:36 +02:00
76880ae4e2 Extend this test.
Všechny kontroly byly úspěšné
The build was successful.
2019-05-08 09:03:21 +02:00
03c37c58bb Add constants test.
Všechny kontroly byly úspěšné
The build was successful.
2019-05-07 08:42:42 +02:00
9d84c558c4 New test for goto statement.
Všechny kontroly byly úspěšné
The build was successful.
2019-05-06 06:39:36 +02:00
73c1a814f5 Test foreach() loop.
Všechny kontroly byly úspěšné
The build was successful.
2019-05-02 18:51:12 +02:00
186e5887f6 We can now declare key and value variables inside a loop.
Všechny kontroly byly úspěšné
The build was successful.
2019-05-01 11:51:08 +02:00
bbcd99789d Fix test.
Všechny kontroly byly úspěšné
The build was successful.
2019-05-01 11:48:57 +02:00
4d8d92092e Refactor foreach() loop.
Všechny kontroly byly úspěšné
The build was successful.
In AerScript, the foreach() loop is syntatically more similiar to C#, than PHP. However the optional '$key => $value' construct is still available, because arrays in AerScript are still a hashmaps.
2019-04-30 23:38:59 +02:00
10516fb655 Remove useless comments from BrainFuck tests.
Všechny kontroly byly úspěšné
The build was successful.
2019-04-28 19:51:38 +02:00
2bda002259 Add missing variables declaration.
Všechny kontroly byly úspěšné
The build was successful.
2019-04-28 19:14:25 +02:00
a7606864fa Do not use broken foreach() loop in this test.
Všechny kontroly byly úspěšné
The build was successful.
2019-04-25 19:09:22 +02:00
13ea9825b8 Bubble sort algorithm in AerScript.
Všechny kontroly byly úspěšné
The build was successful.
2019-04-20 16:56:53 +02:00
8331d36869 Program to calculate Euler's Totient Function.
Všechny kontroly byly úspěšné
The build was successful.
2019-04-20 14:17:06 +02:00
3f1d429d5f The program code for printing Pascal’s Triangle.
Všechny kontroly byly úspěšné
The build was successful.
2019-04-20 13:49:45 +02:00
16c6b8d970 Array subscription test.
Všechny kontroly byly úspěšné
The build was successful.
2019-04-19 07:54:53 +02:00
80abccc3ad This variable contains an array of booleans, really.
Všechny kontroly byly úspěšné
The build was successful.
And if we managed to insert a boolean value to an array of chars, this means we have a bug somewhere.
2019-04-19 06:40:16 +02:00
0b04e0f7c5 Test program entry point.
Všechny kontroly byly úspěšné
The build was successful.
2019-04-17 17:41:47 +02:00
f8a47d2838 Real life test - base32.
Všechny kontroly byly úspěšné
The build was successful.
2019-04-17 13:16:27 +02:00
2aa25f66d5 They do not return any value.
Všechny kontroly byly úspěšné
The build was successful.
2019-04-17 12:25:57 +02:00
58618a4d27 Add another test - constructor overloading.
Všechny kontroly byly úspěšné
The build was successful.
2019-04-17 12:24:32 +02:00
9d97eb228a Test a for() loop as well.
Všechny kontroly byly úspěšné
The build was successful.
2019-04-17 11:07:53 +02:00
b668d0a897 Test do { ... } while(); loop.
Všechny kontroly byly úspěšné
The build was successful.
2019-04-17 11:01:34 +02:00
102e8447a1 Formatting code.
Všechny kontroly byly úspěšné
The build was successful.
2019-04-17 10:08:03 +02:00
ec580ddf8c Path splitting test.
Všechny kontroly byly úspěšné
The build was successful.
2019-04-17 08:32:19 +02:00
549b2ff3b4 Do not use 'elseif' construction.
Všechny kontroly byly úspěšné
The build was successful.
2019-04-17 07:49:22 +02:00