Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user maak ! (Registered 2024-04-18) You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > Exomizer problems on mac os?
2022-01-19 10:10
Carrion

Registered: Feb 2009
Posts: 317
Exomizer problems on mac os?

Hi to all!
Do you guys encounter strange behaviour of exomizer on mac os (intel)?
I use this command:
./exomizer.exe sfx basic main.prg -s"lda #$01 sta $d021" -o test.prg

causes exomizer to stop with this message:
line 864, syntax error, unexpected STA
Parse failure.

this command:
./exomizer.exe sfx basic main.prg -x "lda #$01 sta $d021" -o test.prg
gives:
line 1290, syntax error, unexpected STA
Parse failure.

Both commands work OK on Windows.
Exomizer compiled on mac os without any warnings or errors. What do I do wrong? or is it mac os version issue?
TIA


[edit]
I get these messages with exo 3.0.2
3.1.1 stops as well but with:
line 1434, syntax error
Parse failure

[edit2]
It's the quotes.... XD
Thanks Trap!
 
... 17 posts hidden. Click here to view all posts....
 
2022-01-20 10:54
Bitbreaker

Registered: Oct 2002
Posts: 499
https://github.com/emmanuel-marty/salvador
2022-01-20 16:39
chatGPZ

Registered: Dec 2001
Posts: 11100
Quote:
make sure to disable "Use smart quotes and dashes" in System Preferences -> Keyboard -> Text. Otherwise, macOS will happily convert your quotes in the shell to start and end quotes, which will confuse most commandline tools.

jesus
2022-01-20 18:08
MagerValp

Registered: Dec 2001
Posts: 1055
Quoting Groepaz
Quote:
make sure to disable "Use smart quotes and dashes" in System Preferences -> Keyboard -> Text. Otherwise, macOS will happily convert your quotes in the shell to start and end quotes, which will confuse most commandline tools.

jesus

Yeah, no, Terminal does not convert to smart quotes — it would cause mayhem if it did that. Other apps do though, like TextEdit.app. And of course if you paste smart quotes they are preserved.
2022-01-20 18:27
chatGPZ

Registered: Dec 2001
Posts: 11100
That makes slightly more sense :)
2022-01-20 19:42
Claus_2015

Registered: Oct 2012
Posts: 53
Ah indeed, I thought it would happen even in the shell. Turns out I stumbled across it when writing Vice command files and shell scripts in an editor. Still I think it is a good idea to turn it off.
2022-01-20 20:00
Mr. SID

Registered: Jan 2003
Posts: 421
You need to use a better editor…
2022-01-20 20:43
JackAsser

Registered: Jun 2002
Posts: 1987
Quote: Quoting Groepaz
Quote:
make sure to disable "Use smart quotes and dashes" in System Preferences -> Keyboard -> Text. Otherwise, macOS will happily convert your quotes in the shell to start and end quotes, which will confuse most commandline tools.

jesus

Yeah, no, Terminal does not convert to smart quotes — it would cause mayhem if it did that. Other apps do though, like TextEdit.app. And of course if you paste smart quotes they are preserved.


Also the VICE monitor does it (at least used to) which is highly annoying. :) I'm sure just sending a hint to the widget will disable that insane behaviour.
2022-01-20 21:18
MagerValp

Registered: Dec 2001
Posts: 1055
Yeah sadly apps have to opt out of smart quotes, instead of making it opt in.

https://developer.apple.com/documentation/appkit/nstextview#//a..
2022-01-20 21:42
Krill

Registered: Apr 2002
Posts: 2825
Quoting MagerValp
Yeah sadly apps have to opt out of smart quotes, instead of making it opt in.
Seems quite sensible, tbh. Most users use to type in stuff that needs to look pretty, not be interpreted by a machine. That said, do they fix ghastly not-quite-apostrophe´s?
2022-01-23 13:32
Bitbreaker

Registered: Oct 2002
Posts: 499
Dali V0.1

Just in case you want to try salvador on c64, wrote a wrapper with a bunch of features to make proper use of it on 6502/c64.
Previous - 1 | 2 | 3 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Rick/F4CG
CA$H/TRiAD
Dymo/G★P
icon/The Silents, Sp..
jmin
iceout/Avatar/HF
Knut Clausen/SHAPE/F..
dlee
Guests online: 107
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 The Ghost  (9.6)
10 Bromance  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.8)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 Rainbow Connection  (9.5)
6 Wafer Demo  (9.5)
7 TRSAC, Gabber & Pebe..  (9.5)
8 Onscreen 5k  (9.5)
9 Dawnfall V1.1  (9.5)
10 Quadrants  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Diskmag Editors
1 Jazzcat  (9.4)
2 Magic  (9.4)
3 hedning  (9.2)
4 Newscopy  (9.1)
5 Elwix  (9.1)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.042 sec.