ANTLR (ANother Tool for Language Recognition) is a powerful parser generator for reading, processing, executing, or translating structured text or binary files.
When running TestRig with the grun -gui option: grun Hello r -gui as suggested on page 7, I get a GUI, but I also get a warning on the command line:
$ grun Hello r -gui
hello parrt
2023-12-19 00:58:56.847 java[45676:1875683] WARNING: Secure coding is automatically enabled for restorable state! However, not on all supported macOS versions of this application. Opt-in to secure coding explicitly by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState:.
^C%
I don't think this warning: WARNING: Secure coding is automatically enabled for restorable state! However, not on all supported macOS versions of this application. Opt-in to secure coding explicitly by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState:. is due to anything I have done given I'm following the basic hello world. It would be good if the warning was resolved so as not to distract the user.
I'm following the ANTLR4 Reference and have set up antlr with
brew install antlr
and a classpath of:When running TestRig with the
grun -gui
option:grun Hello r -gui
as suggested on page 7, I get a GUI, but I also get a warning on the command line:I don't think this warning:
WARNING: Secure coding is automatically enabled for restorable state! However, not on all supported macOS versions of this application. Opt-in to secure coding explicitly by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState:.
is due to anything I have done given I'm following the basic hello world. It would be good if the warning was resolved so as not to distract the user.I'm on macOS 14.2 (ARM), using
javac 21.0.1
.