Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.forth > #26896
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | Paul E Bennett <Paul_E.Bennett@topmail.co.uk> |
| Newsgroups | comp.lang.forth |
| Subject | Re: Making Forth official |
| Date | Thu, 21 Nov 2013 15:49:12 +0000 |
| Organization | Hidecs Consultancy |
| Lines | 71 |
| Message-ID | <bf6oboFld0gU1@mid.individual.net> (permalink) |
| References | <528e0962$0$26909$e4fe514c@dreader37.news.xs4all.nl> <2013Nov21.145702@mips.complang.tuwien.ac.at> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset="ISO-8859-1" |
| Content-Transfer-Encoding | 7Bit |
| X-Trace | individual.net NifBXYx2zrfx/7E2rSl0tQ8BDdQYqmxdZ6u2NV7POT7Vb89UxC |
| Cancel-Lock | sha1:A1lxSRPLu5b9E8A2D33x6JKyxOs= |
| User-Agent | KNode/4.10.5 |
| Xref | csiph.com comp.lang.forth:26896 |
Show key headers only | View raw
Anton Ertl wrote: > albert@spenarnc.xs4all.nl (Albert van der Horst) writes: >>This is a list of language supported by ctags: >>Note how obscure some languages are, and that Forth is missing. > > Gforth contains tags.fs for generating vi tags files (and etags.fs for > generating Emacs TAGS files); these programs use the Forth system, > which allows to support user-defined defining words automatically, > which Forth modes for ctags and etags cannot do easily; the drawback > of this method is that the Forth program must be compilable. > > In any case, we don't use ctags for generating tags files, so it's no > wonder that ctags does not know about Forth. > >>No file extension related to the language Forth is known to `make' rules >>either. > > What kind of rules do you imagine make to use for Forth source files? > > I don't define pattern rules involving Forth source files in my own > Makefiles, so I certainly don't expect any standard pattern rules for > Forth. > >>1. Add Forth language detection to ctags on the .frt extensions. >>(ctags is flexible, you can remap to other extensions if you're happy >>with using ctags, but want to used .fs). >>With this added to virtually all editors, .frt will become the >>de facto extension for Forth source files under Linux which is >>important since Linux has attained world domination. > > Given that .fs is the standard extension for source files in Gforth, I > have my doubts about > >>2. With the leverage resulting from 1, I'm gonna claim the >>extension .frt also in the makefile system. >>A .frt file is turned into an executable by the rule >>-------- >>%: %.frt >># commands to execute (built-in): >> $(FORTH) -c $^ >>-------- > > In Gforth, the undocumented -c option is an alias for > --clear-dictionary (by default, the dictionary is not initialized). > It certainly does not generate a file x from x.frt. IYO what should x > contain? > >>This is just standardizing the ciforth way of making an executable. >>This will promote lina. > > Ah, ok, world domination for lina. > > - anton As one who uses the .fth extension for Forth Source files and usually the Kwrite Editor on a linux System, I would vote for the .fth etension to be included. Kwrite actually manages to do some interesting highlighting with the source code without having to be told about it. None of the highlighting effects affect the source code delivered to VfXForth. -- ******************************************************************** Paul E. Bennett IEng MIET.....<email://Paul_E.Bennett@topmail.co.uk> Forth based HIDECS Consultancy.............<http://www.hidecs.co.uk> Mob: +44 (0)7811-639972 Tel: +44 (0)1235-510979 Going Forth Safely ..... EBA. www.electric-boat-association.org.uk.. ********************************************************************
Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Making Forth official albert@spenarnc.xs4all.nl (Albert van der Horst) - 2013-11-21 13:23 +0000
Re: Making Forth official Lars Brinkhoff <lars.spam@nocrew.org> - 2013-11-21 14:54 +0100
Re: Making Forth official gavino_himself <visploveslisp@gmail.com> - 2013-12-03 11:59 -0800
Re: Making Forth official anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2013-11-21 13:57 +0000
Re: Making Forth official Paul E Bennett <Paul_E.Bennett@topmail.co.uk> - 2013-11-21 15:49 +0000
Re: Making Forth official "Mark" <mark@dibsco.co.uk> - 2013-11-21 16:03 +0000
Re: Making Forth official Paul E Bennett <Paul_E.Bennett@topmail.co.uk> - 2013-11-21 23:27 +0000
Re: Making Forth official C G Montgomery <cgm@physics.utoledo.edu> - 2013-11-21 19:20 -0500
Re: Making Forth official "Mark" <mark@dibsco.co.uk> - 2013-11-22 10:43 +0000
Re: Making Forth official Bernd Paysan <bernd.paysan@gmx.de> - 2013-11-22 17:24 +0100
Re: Making Forth official Hans Bezemer <the.beez.speaks@gmail.com> - 2013-11-24 14:11 +0100
Re: Making Forth official albert@spenarnc.xs4all.nl (Albert van der Horst) - 2013-11-22 01:59 +0000
Re: Making Forth official "Mark" <mark@dibsco.co.uk> - 2013-11-22 11:00 +0000
Re: Making Forth official rickman <gnuarm@gmail.com> - 2013-11-22 12:05 -0500
Re: Making Forth official "Mark" <mark@dibsco.co.uk> - 2013-11-22 21:15 +0000
Re: Making Forth official albert@spenarnc.xs4all.nl (Albert van der Horst) - 2013-11-22 01:55 +0000
Re: Making Forth official "Mark" <mark@dibsco.co.uk> - 2013-11-21 15:50 +0000
Re: Making Forth official Bernd Paysan <bernd.paysan@gmx.de> - 2013-11-22 00:03 +0100
Re: Making Forth official Lars Brinkhoff <lars.spam@nocrew.org> - 2013-11-22 08:19 +0100
Re: Making Forth official m.a.m.hendrix@tue.nl - 2013-11-21 23:42 -0800
Re: Making Forth official albert@spenarnc.xs4all.nl (Albert van der Horst) - 2013-11-23 17:22 +0000
Re: Making Forth official Hans Bezemer <the.beez.speaks@gmail.com> - 2013-11-24 14:07 +0100
Re: Making Forth official "Mark" <mark@dibsco.co.uk> - 2013-11-22 11:30 +0000
Re: Making Forth official "Mark" <mark@dibsco.co.uk> - 2013-11-22 11:35 +0000
Re: Making Forth official "Ed" <invalid@invalid.com> - 2013-11-23 19:11 +1100
Re: Making Forth official albert@spenarnc.xs4all.nl (Albert van der Horst) - 2013-11-23 12:46 +0000
Re: Making Forth official "Ed" <invalid@invalid.com> - 2013-11-27 12:42 +1100
Re: Making Forth official albert@spenarnc.xs4all.nl (Albert van der Horst) - 2013-11-27 03:35 +0000
Re: Making Forth official albert@spenarnc.xs4all.nl (Albert van der Horst) - 2013-11-23 17:31 +0000
Re: Making Forth official "Rod Pemberton" <dont_use_email@xnohavenotit.cnm> - 2013-11-24 04:35 -0500
Re: Making Forth official ForthFreak <forthfreak@gmail.com> - 2013-11-21 23:53 -0800
Re: Making Forth official "Mark" <mark@dibsco.co.uk> - 2013-12-31 16:48 +0000
Re: Making Forth official albert@spenarnc.xs4all.nl (Albert van der Horst) - 2013-12-31 22:49 +0000
Re: Making Forth official Paul Rubin <no.email@nospam.invalid> - 2013-12-31 15:10 -0800
Re: Making Forth official albert@spenarnc.xs4all.nl (Albert van der Horst) - 2014-01-01 14:12 +0000
Re: Making Forth official anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-01-02 17:46 +0000
Re: Making Forth official Paul Rubin <no.email@nospam.invalid> - 2014-01-02 13:03 -0800
Re: Making Forth official "Rod Pemberton" <dont_use_email@xnohavenotit.cnm> - 2014-01-02 20:16 -0500
Re: Making Forth official Mark Wills <markrobertwills@yahoo.co.uk> - 2014-01-03 01:24 -0800
Re: Making Forth official "Rod Pemberton" <dont_use_email@xnohavenotit.cnm> - 2014-01-02 20:13 -0500
Re: Making Forth official anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-01-02 17:33 +0000
Re: Making Forth official albert@spenarnc.xs4all.nl (Albert van der Horst) - 2014-01-02 19:22 +0000
csiph-web