Commit Graph

82 Commits

Author SHA1 Message Date
186e5887f6
We can now declare key and value variables inside a loop.
All checks were successful
The build was successful.
2019-05-01 11:51:08 +02:00
bbcd99789d
Fix test.
All checks were successful
The build was successful.
2019-05-01 11:48:57 +02:00
4d8d92092e
Refactor foreach() loop.
All checks were successful
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.
All checks were successful
The build was successful.
2019-04-28 19:51:38 +02:00
2bda002259
Add missing variables declaration.
All checks were successful
The build was successful.
2019-04-28 19:14:25 +02:00
a7606864fa
Do not use broken foreach() loop in this test.
All checks were successful
The build was successful.
2019-04-25 19:09:22 +02:00
13ea9825b8
Bubble sort algorithm in AerScript.
All checks were successful
The build was successful.
2019-04-20 16:56:53 +02:00
8331d36869
Program to calculate Euler's Totient Function.
All checks were successful
The build was successful.
2019-04-20 14:17:06 +02:00
3f1d429d5f
The program code for printing Pascal’s Triangle.
All checks were successful
The build was successful.
2019-04-20 13:49:45 +02:00
16c6b8d970
Array subscription test.
All checks were successful
The build was successful.
2019-04-19 07:54:53 +02:00
80abccc3ad
This variable contains an array of booleans, really.
All checks were successful
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.
All checks were successful
The build was successful.
2019-04-17 17:41:47 +02:00
f8a47d2838
Real life test - base32.
All checks were successful
The build was successful.
2019-04-17 13:16:27 +02:00
2aa25f66d5
They do not return any value.
All checks were successful
The build was successful.
2019-04-17 12:25:57 +02:00
58618a4d27
Add another test - constructor overloading.
All checks were successful
The build was successful.
2019-04-17 12:24:32 +02:00
9d97eb228a
Test a for() loop as well.
All checks were successful
The build was successful.
2019-04-17 11:07:53 +02:00
b668d0a897
Test do { ... } while(); loop.
All checks were successful
The build was successful.
2019-04-17 11:01:34 +02:00
102e8447a1
Formatting code.
All checks were successful
The build was successful.
2019-04-17 10:08:03 +02:00
ec580ddf8c
Path splitting test.
All checks were successful
The build was successful.
2019-04-17 08:32:19 +02:00
549b2ff3b4
Do not use 'elseif' construction.
All checks were successful
The build was successful.
2019-04-17 07:49:22 +02:00
a5da714d61
Test while loop.
All checks were successful
The build was successful.
2019-04-16 19:31:24 +02:00
2894c55dfa
Add some comments, to see if they are working.
All checks were successful
The build was successful.
2019-04-16 15:08:08 +02:00
0b11d59f9f
Remove this dirty hack.
All checks were successful
The build was successful.
This test should now work without it.
2019-04-16 13:59:10 +02:00
583f43e1f7
Convert carriage return and line feed to line feed (UNIX line ending).
All checks were successful
The build was successful.
2019-04-13 14:37:04 +02:00
aea0d1a5ec
Workaround applied to make test working.
All checks were successful
The build was successful.
2019-04-13 14:35:27 +02:00
b302e8c2b2
Test static variables.
Some checks reported errors
The build has failed.
2019-04-11 13:29:44 +02:00
aae526b1d4
Closure as filter.
All checks were successful
The build was successful.
2019-04-11 09:10:03 +02:00
5cc803d07c
Another closure test comes in.
All checks were successful
The build was successful.
2019-04-11 08:58:54 +02:00
4eaf6a7117
AerScript is strict type hinting language, thus OP_TEQ & OP_TNE are not needed here.
All checks were successful
The build was successful.
2019-04-11 06:25:20 +02:00
9c426b20cc
Factory design pattern test.
All checks were successful
The build was successful.
2019-04-10 20:22:13 +02:00
725b60cb88
Check switch block.
All checks were successful
The build was successful.
2019-04-10 20:01:17 +02:00
0c2b2c9df5
Class instance as argument.
All checks were successful
The build was successful.
2019-04-10 19:54:05 +02:00
493fcd0e92
Test complex expressions one more time.
All checks were successful
The build was successful.
2019-04-10 19:41:48 +02:00
57c6b3483a
Test strtr() builtin function.
All checks were successful
The build was successful.
2019-04-10 19:18:39 +02:00
ab4705518c
Another script for interpreter testing.
All checks were successful
The build was successful.
2019-04-10 19:12:44 +02:00
08307c5ad6
Let's test exceptions.
All checks were successful
The build was successful.
2019-04-10 18:59:26 +02:00
46250f0cd8
IP address encode/decode test.
All checks were successful
The build was successful.
2019-04-10 11:28:57 +02:00
ee7b1e56ae
Another test of closure.
All checks were successful
The build was successful.
2019-04-10 11:19:29 +02:00
a4b5db4005
Formatting.
All checks were successful
The build was successful.
2019-04-10 09:52:20 +02:00
6b86f4c855
Add assertion test.
All checks were successful
The build was successful.
2019-04-10 09:23:23 +02:00
ad3c6e6d7e
Closure event test.
All checks were successful
The build was successful.
2019-04-08 13:58:40 +02:00
b320d35cf7
Test char to int conversion.
All checks were successful
The build was successful.
2019-04-08 10:32:31 +02:00
c2b3cc1a2f
Test magic methods.
All checks were successful
The build was successful.
2019-04-08 10:24:32 +02:00
580d1af308
More tests to go.
All checks were successful
The build was successful.
2019-04-08 09:31:58 +02:00
58b63a9f16
Another simple test.
All checks were successful
The build was successful.
2019-04-08 08:57:45 +02:00
67f40db553
Typehinting test.
All checks were successful
The build was successful.
2019-04-06 17:01:28 +02:00
bda8316e1b
Add interface tests (OOP).
All checks were successful
The build was successful.
2019-04-06 16:02:20 +02:00
3359b99128
Test complex expressions.
All checks were successful
The build was successful.
2019-04-05 09:43:07 +02:00
afe978e366
Test call by dereferencing array.
All checks were successful
The build was successful.
2019-04-05 09:22:47 +02:00
4d07a10336
One more callback test.
All checks were successful
The build was successful.
2019-04-05 09:13:29 +02:00