Commit Graph

555 Commits

Author SHA1 Message Date
Irmen de Jong
255c808b16
Merge pull request #2 from fboldog/gradle-fatjar
Create prog8compiler.jar with fatjar like jar process
2019-01-31 21:15:23 +01:00
Irmen de Jong
b311b5ef4a scripts paths fixes 2019-01-31 00:09:22 +01:00
Irmen de Jong
9a8ada7e75 fixed scripts, type check bug fixed, improved some argument error messages 2019-01-30 23:51:46 +01:00
Irmen de Jong
32a9ab30fb fixed stack bug in print_ub, applied Soci's optimizations to prog8lib.asm 2019-01-30 23:43:21 +01:00
Ferenc Boldog
5c8d7c1255 Create prog8compiler.jar with fatjar like jar process 2019-01-30 22:39:43 +01:00
Irmen de Jong
53045b9e36 idea 2019-01-29 23:48:26 +01:00
Irmen de Jong
d35d28ac5a docs about gradle and building the compiler, fix shell build script 2019-01-29 23:32:43 +01:00
Irmen de Jong
993dcde985
Merge pull request #1 from fboldog/gradle-build
Gradle build.

Thanks for contributing!
2019-01-29 22:25:16 +01:00
Ferenc Boldog
0ecef00b13 enable cmdline build cache
more information: https://blog.jetbrains.com/kotlin/2018/02/using-gradle-build-cache-with-kotlin/
2019-01-29 12:14:08 +01:00
Ferenc Boldog
13a5eabc09 ignore gradle build related folders 2019-01-29 12:12:07 +01:00
Ferenc Boldog
b8624c72d9 generate p8compiler and p8vm scripts 2019-01-29 12:11:47 +01:00
Ferenc Boldog
49c5b2b107 java, resources and test source directories 2019-01-29 12:10:59 +01:00
Ferenc Boldog
1e89bea288 just changed by build 2019-01-29 12:10:09 +01:00
Ferenc Boldog
2c64f95b06 set antlr source (grammar) directory 2019-01-29 12:09:39 +01:00
Ferenc Boldog
037c78cfaf set current java source directory 2019-01-29 12:09:18 +01:00
Ferenc Boldog
de777b1308 initial version of compiler and parser gradle module 2019-01-29 12:08:21 +01:00
Ferenc Boldog
b3df3c999d package definition for antlr 2019-01-29 12:06:33 +01:00
Ferenc Boldog
4790c3a793 gradle wrapper 2019-01-29 12:06:10 +01:00
Irmen de Jong
1a2137c228 updated the compiled examples and disk image 2019-01-27 23:09:29 +01:00
Irmen de Jong
7459896155 finalized zeropage variable allocation 2019-01-27 22:59:40 +01:00
Irmen de Jong
0219c69446 stackvm now also calls the variable init subroutines before the program starts 2019-01-27 21:25:16 +01:00
Irmen de Jong
798c4d7902 fix some optimizations of loops, added some conditional branch optimizations 2019-01-27 19:14:58 +01:00
Irmen de Jong
c4a28b8502 actually (re)initialize block level variables with their init values 2019-01-27 18:33:21 +01:00
Irmen de Jong
3a8f069854 zp allocations 2019-01-27 17:10:49 +01:00
Irmen de Jong
204cc03fc8 doc 2019-01-26 23:28:28 +01:00
Irmen de Jong
953cf9a335 preparing for vars on zeropage 2019-01-26 22:46:01 +01:00
Irmen de Jong
6f583e7092 readme 2019-01-26 19:13:42 +01:00
Irmen de Jong
424819744f readme 2019-01-26 18:59:14 +01:00
Irmen de Jong
c1f196f2aa readme 2019-01-26 18:56:53 +01:00
Irmen de Jong
0298f6b727 readme 2019-01-26 18:45:17 +01:00
Irmen de Jong
2663781fde readme 2019-01-26 18:44:30 +01:00
Irmen de Jong
0659f0c4f1 readme 2019-01-26 18:41:25 +01:00
Irmen de Jong
fa8a3c997a Expressions can now be split over multiple lines. Fixed datatype of len(). 2019-01-26 17:32:26 +01:00
Irmen de Jong
1ff68b06da fix compiler crash, rasterbars alignment, docs. 2019-01-25 01:35:46 +01:00
Irmen de Jong
163c6bc628 improved docs on how to run the compiler 2019-01-24 23:31:16 +01:00
Irmen de Jong
6e3820c6b8 Fixed namespace lookup errors related to variable initialization. Removed many X register clobbers. 2019-01-24 23:29:09 +01:00
Irmen de Jong
56e0f4c525 trying to fix namespace lookup errors 2019-01-24 21:45:50 +01:00
Irmen de Jong
f1a7fa1870 doc 2019-01-24 02:43:25 +01:00
Irmen de Jong
a0f0e7a034 %asminclude now first looks in the same folder as the module it is in 2019-01-24 00:35:30 +01:00
Irmen de Jong
fab5e4b17f swap syntax checks 2019-01-23 22:00:46 +01:00
Irmen de Jong
39a5e341af sort assignments to enable same-value optimization 2019-01-23 21:50:43 +01:00
Irmen de Jong
d37c9d1680 argument type casts for builtin functions, added memset, tweaked memcopy/memset assembly a bit 2019-01-23 00:19:29 +01:00
Irmen de Jong
dd02d97db4 fixed and optimized branches and gotos in if statements 2019-01-22 22:52:43 +01:00
Irmen de Jong
209b50ddf7 errormsg 2019-01-21 02:57:00 +01:00
Irmen de Jong
5ba839986f some more command line options 2019-01-21 01:08:43 +01:00
Irmen de Jong
c952ee898e updated compiled examples 2019-01-21 00:50:12 +01:00
Irmen de Jong
5471c5211c make %asminclude work, restructure prog8lib into separate asm file 2019-01-21 00:49:48 +01:00
Irmen de Jong
ba91ab13d5 remove unused option 2019-01-20 17:50:30 +01:00
Irmen de Jong
2911e357bd restructured program init code and library imports a bit 2019-01-20 17:45:57 +01:00
Irmen de Jong
fc67ef8f21 added SID registers and sound example program 2019-01-20 16:54:24 +01:00