Irmen de Jong
|
0fcd61e00f
|
refactor tryGetModuleFromResource
|
2021-10-13 23:00:22 +02:00 |
|
Irmen de Jong
|
c4523ea470
|
refactor tryGetModuleFromFile
|
2021-10-13 22:32:52 +02:00 |
|
Irmen de Jong
|
0447b3e4cc
|
remove testcase that attempted to check invalid %import syntax.
we only allow unquoted names, without filename suffix, in %import.
|
2021-10-13 22:10:35 +02:00 |
|
Irmen de Jong
|
4d27c2901b
|
fix weird error printing when doing %import textio.p8
|
2021-10-13 21:55:51 +02:00 |
|
Irmen de Jong
|
855e18b31c
|
fix SourceCode to properly set the sourceName of a resource or string as well
|
2021-10-13 21:46:38 +02:00 |
|
Irmen de Jong
|
d790878af6
|
enabled test
|
2021-10-13 20:28:42 +02:00 |
|
Irmen de Jong
|
85b244df2f
|
remove remains of %target
|
2021-10-13 20:13:57 +02:00 |
|
Irmen de Jong
|
6070afa6b6
|
cleanup SourceCode class
|
2021-10-13 19:16:01 +02:00 |
|
Irmen de Jong
|
975594703d
|
doc
|
2021-10-13 18:21:48 +02:00 |
|
Irmen de Jong
|
6b8c3ef614
|
renamed command line option -libdirs to -srcdirs
this more clearly separates this meaning from the internal library modules
|
2021-10-13 18:16:51 +02:00 |
|
Irmen de Jong
|
9b22f05381
|
7.1 beta
|
2021-10-13 01:36:20 +02:00 |
|
Irmen de Jong
|
ca3a990f9e
|
todo
|
2021-10-13 01:33:29 +02:00 |
|
Irmen de Jong
|
557f4f689f
|
doc
|
2021-10-13 00:50:54 +02:00 |
|
Irmen de Jong
|
66574d058a
|
renamed InferredType.typeOrElse to getOr()
this is closer to the convention of most functional return types
|
2021-10-13 00:21:38 +02:00 |
|
Irmen de Jong
|
1c7c67060d
|
better result and error handling for importModule()
|
2021-10-12 23:54:48 +02:00 |
|
Irmen de Jong
|
9827ee97ad
|
better returnvalue/errorhandling for Petscii encoding
|
2021-10-12 23:26:45 +02:00 |
|
Irmen de Jong
|
71a9a84211
|
don't throw basic AstException but SyntaxError instead
|
2021-10-12 22:30:38 +02:00 |
|
Irmen de Jong
|
367a2a4cee
|
cleaner return type
|
2021-10-12 22:21:38 +02:00 |
|
Irmen de Jong
|
4f7465ba44
|
better return types
|
2021-10-12 21:59:19 +02:00 |
|
Irmen de Jong
|
f891fc698c
|
switched to more featureful Result library
|
2021-10-12 21:35:27 +02:00 |
|
Irmen de Jong
|
36bec62c9a
|
Merge branch 'master' into v7.1
|
2021-10-12 20:28:44 +02:00 |
|
Irmen de Jong
|
dd5a2c8315
|
get rid of automated CI builds for now
the tests that actually run the compiler + assember don't work there (for now)
|
2021-10-12 20:27:25 +02:00 |
|
Irmen de Jong
|
56bff46481
|
Update gradle.yml
|
2021-10-12 18:19:07 +02:00 |
|
Irmen de Jong
|
b83a0adb19
|
Update gradle.yml
|
2021-10-12 18:17:50 +02:00 |
|
Irmen de Jong
|
92ffefe656
|
create github CI action to replace travis CI
|
2021-10-12 18:15:12 +02:00 |
|
Irmen de Jong
|
51b2e41879
|
libs updated to maven
|
2021-10-12 03:33:52 +02:00 |
|
Irmen de Jong
|
ef43bc9208
|
lib update
|
2021-10-12 02:33:34 +02:00 |
|
Irmen de Jong
|
33733a4001
|
improve errorhandling
|
2021-10-12 01:45:32 +02:00 |
|
Irmen de Jong
|
e5a1b37981
|
simplify
|
2021-10-12 01:22:17 +02:00 |
|
Irmen de Jong
|
30aa72dc8e
|
fix unittest and use kotlin.test method to test for exceptions
|
2021-10-11 21:22:06 +02:00 |
|
Irmen de Jong
|
2c2d474059
|
fix crash when attempting to import non-existing module
|
2021-10-11 20:37:55 +02:00 |
|
Irmen de Jong
|
c55ac0450f
|
unified @embedded@ and library: into the latter
|
2021-10-11 19:22:56 +02:00 |
|
Irmen de Jong
|
2d26b9c994
|
fixed module parent linking mistakes in unit tests: module's parent should always be the GlobalNamespace
|
2021-10-11 01:34:55 +02:00 |
|
Irmen de Jong
|
f38fe092ee
|
optimized imports
|
2021-10-11 00:22:04 +02:00 |
|
Irmen de Jong
|
7a33eb163b
|
also use output path when launching emulator, fixes #61
|
2021-10-11 00:19:48 +02:00 |
|
Irmen de Jong
|
5db0408b9f
|
syntactic sugar: turned some functions into read only properties
|
2021-10-11 00:05:51 +02:00 |
|
Irmen de Jong
|
3557d38ce0
|
cleanup: fix spelling errors and some compiler warnings/suggestions
|
2021-10-10 23:35:02 +02:00 |
|
Irmen de Jong
|
7de4e9e66a
|
exclude some more build folders from the IDE
|
2021-10-10 23:04:31 +02:00 |
|
Irmen de Jong
|
73838ccb8b
|
ref github issue
|
2021-10-10 23:00:31 +02:00 |
|
Irmen de Jong
|
0509de76d5
|
Merge pull request #53 from meisl/testability_steps_1_2_3_again
Implement plan for testability
|
2021-10-10 22:30:29 +02:00 |
|
Irmen de Jong
|
f4b3d19059
|
fix merge conflict
|
2021-10-10 22:26:18 +02:00 |
|
Irmen de Jong
|
f37fb82d53
|
Merge branch 'v7.1' into testability_steps_1_2_3_again
# Conflicts:
# compilerAst/src/prog8/ast/antlr/Antlr2Kotlin.kt
# compilerAst/src/prog8/parser/ModuleParsing.kt
# compilerAst/test/TestAntlrParser.kt
# parser/antlr/Prog8ANTLR.g4
|
2021-10-10 22:20:08 +02:00 |
|
Irmen de Jong
|
dbe98f3fa5
|
remove unittest of %target directive, which is removed in 7.1
|
2021-10-09 18:43:18 +02:00 |
|
Irmen de Jong
|
371d4768e6
|
fix filename case issue
|
2021-10-09 17:59:40 +02:00 |
|
Irmen de Jong
|
562d8386ec
|
fix antlr generator settings
|
2021-10-09 16:57:56 +02:00 |
|
Irmen de Jong
|
1625e4eb85
|
rename prog8Parser (generated java) to Prog8ANTLRParser
|
2021-10-09 16:56:39 +02:00 |
|
Irmen de Jong
|
2365a076ac
|
clean test.p8
|
2021-10-09 16:33:52 +02:00 |
|
Irmen de Jong
|
9898791771
|
clean test.p8
|
2021-10-09 16:32:44 +02:00 |
|
Irmen de Jong
|
a1c658274d
|
Merge pull request #50 from meisl/v7.1
*/+ fix comments & test messages, *add CompilerDevelopment.md*
|
2021-10-09 16:27:14 +02:00 |
|
Irmen de Jong
|
be9998b48b
|
Merge branch 'irmen:v7.1' into v7.1
|
2021-10-09 14:48:19 +02:00 |
|