marcobaye
640373c54f
search paths (given via -I) are now also displayed in error messages.
...
also prepared filespecs to be relative to current file in next version.
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@357 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-03-08 23:42:58 +00:00
marcobaye
a2103c167e
improved "macro twice" error output and did some cleanup...
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@355 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-03-03 23:35:21 +00:00
marcobaye
8f9e3a5855
more cleanup
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@353 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-03-03 12:49:03 +00:00
marcobaye
b04af19d5c
another tiny bit of cleanup
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@350 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-02-28 17:53:13 +00:00
marcobaye
2092961bb8
another one of those "great rename" cleanup commits, no change in functionality
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@331 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-02-08 19:17:07 +00:00
marcobaye
aec6f8e99d
added experimental feature to dynamically create symbol names (and a bit of cleanup)
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@328 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-01-29 22:02:28 +00:00
marcobaye
4d33e5db14
a bit of internal cleanup before adding new features...
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@326 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-01-28 19:38:20 +00:00
marcobaye
c9d148d345
added "!for VAR in ITERABLE { BLOCK }" possibility.
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@306 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-10-23 23:13:26 +00:00
marcobaye
1048e12fc7
another minor cleanup concerning "!for" loops, no change in functionality
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@304 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-10-22 17:33:44 +00:00
marcobaye
ecab6ba3d6
fiddled with "!for" struct, no change in functionality
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@303 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-10-21 18:42:50 +00:00
marcobaye
70b9ee222d
tweaked docs and removed some comments, no change in functionality
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@273 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-30 09:24:30 +00:00
marcobaye
94f36db2e5
added support for hashbang lines (if file starts with '#', line is ignored)
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@270 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-29 09:53:03 +00:00
marcobaye
5b37c4d24e
cleanup (moved functions between files; no change in functionality!)
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@245 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-20 16:45:37 +00:00
marcobaye
f9a2f5f698
got rid of DEFINED flag by making UNDEFINED its own number type
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@235 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-16 22:44:54 +00:00
marcobaye
4643e841f9
symbol assignment refactoring seems to be finished now
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@228 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-13 23:11:10 +00:00
marcobaye
8bf6bcd6eb
fixed bug introduced in svn rev 217: !for threw "too late for postfix" with wrong line number
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@226 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-13 09:32:21 +00:00
marcobaye
77e945ce88
symbol assigment refactoring nearing completion...
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@217 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-05 15:15:12 +00:00
marcobaye
d407faab1c
removed old version of !if/else/!ifdef/!ifndef algo.
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@188 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-24 19:52:10 +00:00
marcobaye
916bf9cbc8
part 4 of 4 of preparations for backslash escaping
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@179 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-19 16:28:36 +00:00
marcobaye
5b0989ac31
minor refactoring, moved a function
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@178 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-19 14:33:51 +00:00
marcobaye
688c00f31b
changed a bool to an enum
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@171 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-18 22:10:01 +00:00
marcobaye
365306428b
added warnings about binary/octal/hex numbers without any digits, will be error in future! also renamed a function.
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@159 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-13 23:45:03 +00:00
marcobaye
40afd3311a
cleaned up expression handler, it's now able to handle more than just ints/floats
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@158 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-13 23:26:40 +00:00
marcobaye
16fb63deda
planned ELSE IF functionality
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@155 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-12 10:51:37 +00:00
marcobaye
4b81e40c63
minor cleanup
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@143 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-08 12:22:07 +00:00
marcobaye
a4943e1f40
more cleanup
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@139 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-06 12:27:32 +00:00
marcobaye
5c459cad56
added "!while" pseudo opcode (will be enabled in next release)
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@136 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-05 22:56:11 +00:00
marcobaye
7286e00855
typedef'd boolean to make source more readable. added "--test" option
...
(unused atm). no change in functionality.
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@130 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-01 21:01:23 +00:00
marcobaye
669f95c238
renamed a bunch of stuff, no change in functionality
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@128 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-04-28 16:02:09 +00:00
marcobaye
a4afd81f42
some internal cleanup concerning empty expressions
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@123 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-04-26 16:24:34 +00:00
marcobaye
c6f443d581
minor fix for output of segment list. no other change in functionality, only
...
internal cleanup (added some comments and TODOs)
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@122 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-04-25 10:20:52 +00:00
marcobaye
99d866e2e8
Some small changes in source, no change in functionality.
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@104 4df02467-bbd4-4a76-a152-e7ce94205b78
2019-02-01 11:23:28 +00:00
marcobaye
7cb100c480
ACME release 0.96.3: Added "!hex" and "!skip" pseudoops. Added cheap locals.
...
Added CLI switch to change pseudoop prefix to '.'
Fixed a bug in expression parser and added a warning.
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@94 4df02467-bbd4-4a76-a152-e7ce94205b78
2017-10-29 23:29:07 +00:00
marcobaye
294fe25c36
ACME Release 0.96: Added experimental support for instruction sets of Rockwell 65C02, WDC 65C02(S), CSG 65CE02 and CSG 4502.
...
Stack indexing can now be given either as ",s" or as ",sp" (only relevant for 65816 and 65CE02).
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@78 4df02467-bbd4-4a76-a152-e7ce94205b78
2016-12-28 20:32:00 +00:00
marcobaye
8d2719db8a
Release 0.95.6 (intermediate release): Removed ANC from DTV2 mode, "Value not defined"
...
message now includes symbol name, fixed bug in type system (!for loop counters), added
address() as alternative to addr(), fixed bug in report listing generator (CR in input
caused additional blank lines in output).
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@63 4df02467-bbd4-4a76-a152-e7ce94205b78
2015-06-14 23:16:23 +00:00
marcobaye
4bcae073f9
refactoring - now all pseudo opcodes are back together in one file. no change in functionality.
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@53 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-12-22 00:47:52 +00:00
marcobaye
2331709a35
yet more refactoring. no change in functionality
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@52 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-12-16 08:21:44 +00:00
marcobaye
e042ec8602
still more refactoring (almost there, almost there) - no change in functionality
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@49 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-12-04 15:31:54 +00:00
marcobaye
c53505915d
Refactoring only; no change in functionality.
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@47 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-12-03 22:18:06 +00:00
marcobaye
bff56ae803
Removed another silly two-entry keyword tree. Minor refactoring. No change in functionality.
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@46 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-11-30 17:00:13 +00:00
marcobaye
ded7f1a065
Removed a keyword tree with only two entries ("while" and "until") - that was just silly.
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@43 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-11-25 16:15:22 +00:00
marcobaye
653ce7549c
Changed comments and struct names; no change in functionality
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@42 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-11-24 14:52:05 +00:00
marcobaye
808ccf39a3
Release 0.95.1: Tweaked type system and changed "label" to "symbol" in a lot of places.
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@35 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-06-07 00:12:10 +00:00
marcobaye
d152f60acd
Release 0.95: Added experimental type checking system (still missing docs, however). Made warning about old "!for" syntax configurable.
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@34 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-06-02 00:47:46 +00:00
marcobaye
c8ff626943
Release 0.94.12: Finally created new "!for" syntax so counting can start at zero. Added "0b" as alternative prefix for binary values.
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@33 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-05-31 00:46:55 +00:00
marcobaye
538dd38861
added comments, cleaned up some struct and variable names - no change in functionality at all
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@27 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-03-11 12:07:11 +00:00
marcobaye
059238874d
Release 0.94.5: Fixed bugs in wrap-around branches and left-shifting floats. Several changes in library.
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@15 4df02467-bbd4-4a76-a152-e7ce94205b78
2013-06-26 23:01:00 +00:00
hoeppie
a80d24565b
remove gcc compiler warnings and add compile stuff for windows.
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@11 4df02467-bbd4-4a76-a152-e7ce94205b78
2013-02-24 20:53:59 +00:00
marcobaye
721a2d7bbc
fixed dir tree structure
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@3 4df02467-bbd4-4a76-a152-e7ce94205b78
2012-02-27 21:25:04 +00:00