-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Any good formatters? #84
Comments
https://www.emacswiki.org/emacs/Forth-mode works pretty well |
Welcome @timmyjose. I also use the Emacs Forth Mode, as I was working with @MitchBradley's source and it just made sense to stick to the same indentation. But I was and keep using it in my unpublished work. I also have some customisations in (add-to-list 'auto-mode-alist '("\\.fth$" . forth-mode))
(add-to-list 'auto-mode-alist '("\\.bth$" . forth-mode))
(add-hook 'forth-mode-hook (function (lambda ()
(setq forth-indent-level 3)
(setq forth-minor-indent-level 1)
(setq forth-hilight-level 3)))) |
@MitchBradley @quozl Thank you! I was able to locate it on melpa as well, so it should be easy to set it up. And @quozl, that snippet will come in very handy indeed. Thanks again! Cheers. |
My set of customizations is a bit more extensive that that of my good friend @quozl . To wit:
Some of the keywords mentioned above are specific to Open Firmware source, but you might find a few of interest. |
@MitchBradley Wow, that is quite something indeed. I must confess I don't understand most of it, but I can pick and incorporate some useful tidbits from there as I progress in Forth myself. Thank you for sharing the coniguration! |
Hello all!
Glad to join the community. Currently learning Forth for good using the gforth manuals. Doing "Starting Forth" in parallel.
Is there any good formatter than you might recommend? I'm having trouble figuring out/conforming to standard Forth guidelines. If relevant, Vim is my preferred editor, but I use Emacs very regularly as well. Ideally, an independent tool would be ideal!
Cheers.
The text was updated successfully, but these errors were encountered: