Commit Graph

660 Commits (5507c2b676eab7cba48f7ddc662e4137ce78a8cd)

Author SHA1 Message Date
Björn Lindqvist d9711b96d2 FUEL: support for the $sequence help syntax 2016-03-22 17:52:19 +01:00
John Benediktsson 5dd6435511 moving build-support/factor.(sh|cmd) to ./build.(sh|cmd). 2016-03-15 03:17:36 -07:00
Björn Lindqvist 120c9d646e FUEL: fix factor-symbol-at-point so it counts " as a symbol character 2016-03-13 08:36:31 +01:00
Björn Lindqvist 3bf7e49e9f FUEL: improved fontlocking
INTERSECTION: and SPECIALIZED-ARRAYS: should be highlighted better and
REQUIRE: and REQUIRES: is old removed syntax
2016-03-11 07:36:23 +01:00
Sankaranarayanan Viswanathan 02e7b16ae9 fuel: fix doc on starting fuel server 2015-12-17 13:27:55 -08:00
Björn Lindqvist 4f698db8fc FUEL: slightly improved font-locking for alien functions and aliases 2015-12-04 12:43:01 +01:00
John Benediktsson ca898311cd New icons. 2015-11-04 10:18:21 -08:00
Björn Lindqvist 4b4a5d24e9 FUEL: better font-locking of a bunch of syntax
Like for PREDICATE:, GAME: and SINGLETONS:
2015-10-29 00:44:08 +01:00
Björn Lindqvist d59ea8d72c FUEL: better highlighting for some uncommon syntax words 2015-10-15 02:41:40 +02:00
Björn Lindqvist 27a707947a fuel.listener: new vocab with a listener better for FUEL (#1486) 2015-10-06 14:09:51 +02:00
John Benediktsson b502ad7ac6 misc/vim: update with new core word renames. 2015-08-13 17:56:16 -07:00
Björn Lindqvist 37fbe62f0d FUEL: new function, factor-syntax, which makes the declarations in
factor-font-lock-keywords better looking and less verbose
2015-08-06 09:21:33 -07:00
Björn Lindqvist ddea03b336 FUEL: corrected highlighting of QUALIFIED-WITH: 2015-08-06 09:21:33 -07:00
Björn Lindqvist 74e8b881db FUEL: fix highlighting of FUNCTIONs
The final ; was dropped from the syntax, so FUEL looks for the finishing
bracket instead
2015-08-06 09:21:33 -07:00
Björn Lindqvist da69a6c329 FUEL: improved highlighting of alias defs 2015-08-06 09:21:33 -07:00
Björn Lindqvist fd3b401749 FUEL: this fix makes it so stack effects spread out over multiple lines highlight 2015-08-06 09:21:33 -07:00
John Benediktsson 5f29e1c131 misc/vim: syntax highlight PRIMITIVE:. 2015-07-15 09:28:32 -07:00
John Benediktsson 154ebac5af misc/atom: more readme updates. 2015-07-14 19:49:46 -07:00
John Benediktsson 1c9dd357b5 misc/atom: minor update to readme. 2015-07-14 19:49:06 -07:00
John Benediktsson 0ddb0d4175 misc/atom: adding an Atom bundle for syntax highlighting. 2015-07-14 19:47:31 -07:00
Björn Lindqvist 240825b7ed FUEL: lets have a menu for the neat scaffolding system so it becomes discoverable 2015-07-14 17:29:43 -07:00
Björn Lindqvist 5a2861aff0 FUEL: fix the lookup of user name for copyright headers
first ask Factor, then fuel-scaffold-developer-name then user-full-name
and lastly "Your name"
2015-07-14 17:29:43 -07:00
Björn Lindqvist 531332acd8 FUEL: font-lock errors the same as tuples -- it looks much better 2015-07-14 17:29:43 -07:00
Björn Lindqvist 31b17ff2f3 FUEL: a few unused font faces 2015-07-14 17:29:43 -07:00
Björn Lindqvist 896921367d FUEL: better hl of a lot of syntax like RENAME: FROM: EXCLUDE: 2015-07-14 17:29:42 -07:00
Björn Lindqvist 5931f33514 FUEL: colorize :> 2015-07-14 17:29:42 -07:00
John Benediktsson e0ae202d36 misc: fix factor.vim.fgen for words->vocab-words refactor. 2015-07-14 16:29:28 -07:00
John Benediktsson 2b1e7dd9d0 misc: fix syntax error in Factor.tmbundle. 2015-07-10 09:19:40 -07:00
John Benediktsson 9008562265 Revert "Add Adobe Brackets highlight mode"
This reverts commit 94809b32a3.
2015-06-15 09:35:59 -07:00
Dimage Sapelkin 94809b32a3 Add Adobe Brackets highlight mode 2015-06-15 09:35:38 -07:00
Björn Lindqvist 017a030bbc FUEL: improved highlighting of some syntax words: PRIMITIVE, MAIN, INSTANCE 2015-06-07 17:00:56 -07:00
Björn Lindqvist 17997bb479 FUEL: make it so $complex-shuffle words (like -rot) are rendered correctly 2015-06-07 17:00:56 -07:00
Björn Lindqvist 4e8258c94b FUEL: better way to font-lock comments.
just setting the comment property of the string in the
syntax-propertize-rules regexp appears to generate best results
2015-06-07 17:00:56 -07:00
Björn Lindqvist c631ba8dfe FUEL: the web reference have next and prev links for each word, let's add them to the fuel
help too
2015-06-07 17:00:56 -07:00
John Benediktsson e72ad0c4f7 update vim syntax file. 2015-05-12 19:40:21 -07:00
Björn Lindqvist b497800f03 FUEL: better font lock highlighting for some factor constructs
Also a fix so that ! in filter! isn't wrongly interpreted as a comment.
2015-04-24 11:40:06 +02:00
John Benediktsson 0f69430f8d misc/bash: minor updates to cdfactor script. 2014-11-29 20:19:11 -08:00
John Benediktsson 4c4ba4d766 misc: update number and string literals in Factor.tmbundle syntax. 2014-11-25 12:44:53 -08:00
Björn Lindqvist 2b1e080ccd FUEL: big refactoring of fuel-xref-mode and the fuel.xref vocab
The big difference is that links to words are now grouped by vocab and
sorted alphabetically which I think makes *fuel xref* much more usable
when you have lots of words in the list
2014-11-17 19:00:32 -08:00
Björn Lindqvist 82c71577d2 FUEL: corrected name of *fuel xref* buffer 2014-11-17 19:00:32 -08:00
Björn Lindqvist 079d2e41db FUEL: when browsing vocab documentation, use the fuel-help--buffer-link variable to determine what vocabulary we are "in" 2014-11-04 07:40:16 -08:00
Björn Lindqvist 189bc7a409 FUEL: unit tests for fuel, only 2 so far but the number is expected to grow 2014-11-04 07:40:16 -08:00
Björn Lindqvist 28b2942167 FUEL: fix markup of stack effects of quotations nested in stack effects 2014-11-04 07:40:16 -08:00
Björn Lindqvist 8206adc2bb FUEL: fix in table rendering, previously it cutted off some cells with to much text 2014-10-21 23:20:47 +02:00
Björn Lindqvist 9954257d60 FUEL: remove empty (nil) lists of parsed words
FUEL interprets nil as f, therefore they need to be filtered out to
prevent empty lists of words from appearing as an "f" character.
2014-07-23 07:13:42 -07:00
John Benediktsson a4aa9a9688 misc: fix syntax highlighting for new escape codes. 2014-06-03 18:05:06 -07:00
John Benediktsson 9a989f8e9d misc: fix builtin tuple highlighting. 2014-05-20 09:37:52 -07:00
John Benediktsson 57e0c711a1 misc: sort vim keywords and fix GENERIC#. 2014-05-20 09:33:34 -07:00
Björn Lindqvist 6c6df7279b FUEL: make it so fuel-con-error is shown in *fuel debug* 2014-04-25 08:49:50 -07:00
Björn Lindqvist 402a2f5ac1 FUEL: Customization variable that controls whether fuel-mode is loaded automatically. 2014-04-21 08:33:09 -07:00
Björn Lindqvist 6d88ab71b5 FUEL: Load fuel-mode when factor-mode loads. 2014-04-21 08:33:08 -07:00
Björn Lindqvist d62c2ae351 FUEL: some more chars that often are used in word names 2014-04-18 08:43:12 -07:00
Björn Lindqvist 693ca82648 FUEL: factor-find-in returns correct vocab when point is on the IN:-line 2014-04-18 08:43:11 -07:00
Björn Lindqvist bf060849c9 FUEL: improve highlighting of LIBRARY:, HELP: and deprecated 2014-04-18 08:43:11 -07:00
Björn Lindqvist 368abbe777 FUEL: Improved handling of documentation markup errors
The fuel-eval--retort-result-safe function can be used to get the
retort result and throw an error if the retort error is
set. E.g. (fuel-help "prettyprint") will now throw an error because
the markup is invalid instead of showing "No help available.."
2014-04-18 08:43:11 -07:00
Björn Lindqvist a80dc21337 FUEL: Use font-locks data to figure out if the token point is on is a vocab
If point is on "myvocab" in IN: myvocab fuel-help will now understand
that it is on a vocabulary token.
2014-04-18 08:43:11 -07:00
Björn Lindqvist 385a8a0798 FUEL: remove fuel-help-short and supporting code
The feature is not used anywhere (not bound to any key) and the normal
fuel-help display works better than fuel-help-short anyway
2014-04-18 08:43:11 -07:00
Björn Lindqvist c0ff39d129 FUEL: fix factor-find-usings and use it in fuel-help--word-help so that fuel can eval code with the right vocabs imported 2014-04-14 08:38:33 -07:00
Björn Lindqvist 35fd1ad8cb FUEL: correct fuel-helps word lookup algorithm
e.g if you lookup help for pop you should see the help page for
sequences:pop not persistent.deques.private:pop
2014-04-14 08:38:33 -07:00
Björn Lindqvist d05363e1e8 FUEL: need to catch and handle scan-error that forward-sexp can emit if there is no closing bracket 2013-12-12 08:24:02 -08:00
Björn Lindqvist b1b146e709 FUEL: fixed font-locking of SYMBOLS 2013-12-12 08:24:02 -08:00
Björn Lindqvist 084e3e98f1 FUEL: correct font-locking of nested stack effect declarations.
The new matcher function isn't "fooled" by stack effect declarations
like: ( ... seq quot: ( ... elt index -- ... ) i -- ... )
2013-12-01 06:51:48 -08:00
Björn Lindqvist d5568986b2 FUEL: improved font-locking of DESTRUCTOR and FORGET 2013-12-01 06:51:48 -08:00
Björn Lindqvist 0e1d454e66 FUEL: correct highlighting of GENERIC# and MACRO: 2013-12-01 06:51:48 -08:00
Björn Lindqvist d93a444c4c FUEL: improved regexps for setters and getters, now they arent fooled by the parsing words << and >> 2013-12-01 06:51:48 -08:00
Björn Lindqvist 4d56a136a1 FUEL: correct colorizing for FROM and EXCLUDE 2013-12-01 06:51:48 -08:00
Björn Lindqvist 85098e0e49 FUEL: fixed regexp for C-GLOBAL and RENAME 2013-12-01 06:51:48 -08:00
Björn Lindqvist e1bf75cc68 FUEL: colorizing for PROTOCOL and some uncommon parsing words 2013-12-01 06:51:48 -08:00
Björn Lindqvist f21d634a13 FUEL: highlight predicates 2013-12-01 06:51:48 -08:00
Björn Lindqvist a2c7b7c82c FUEL: font-lock ENUMs 2013-12-01 06:51:48 -08:00
Björn Lindqvist 08cf1b3567 FUEL: fix regexp for number literals 2013-09-20 13:42:50 -07:00
Björn Lindqvist 9f8648e1e7 FUEL: highlight alien callbacks identical to functions 2013-09-20 13:42:50 -07:00
Björn Lindqvist 05b18519f6 FUEL: improve handling of whitespace in regexps 2013-09-20 13:42:50 -07:00
Björn Lindqvist 86712433cd FUEL: Improved highlighting of stack effect declarations for alien functions. Types are highlighted bold using the new face factor-font-lock-type-in-stack-effect. 2013-09-20 13:42:50 -07:00
Björn Lindqvist ccda289400 FUEL: better matching for hex numbers, eg. 0xDeadBeefBabe 2013-09-20 13:42:50 -07:00
Björn Lindqvist 85c02e0e0d FUEL: improved highlighting of alien syntax; TYPEDEF, C-TYPE, STRUCT and UNION-STRUCT 2013-09-20 13:42:50 -07:00
Björn Lindqvist 0ac088ccfc FUEL: Correct font-locking of tuples with initial values. 2013-08-19 11:44:41 -07:00
Björn Lindqvist 9ac1522daa FUEL: Tables in help buffers must be plain ascii to be correctly rendered everywhere. 2013-08-14 18:21:58 +02:00
Björn Lindqvist 23e3bcd9ff FUEL: Make fuel-help (C-c C-d d) work for vocabularies too. 2013-08-14 18:04:18 +02:00
Björn Lindqvist f35795f415 FUEL: Correct regexp to work with multiline USING: 2013-08-14 18:02:32 +02:00
Björn Lindqvist 365a790eba FUEL: Put several more characters that can be used in word names in the symbols class 2013-08-14 17:41:36 +02:00
Björn Lindqvist ec74afdd23 FUEL: Error message is now shown if word can't be found. 2013-08-14 13:21:19 +02:00
Björn Lindqvist 13945c4252 FUEL: Exterminating the evil tabs. Also highlight them so they get easier to kill. 2013-08-07 23:53:24 +02:00
Björn Lindqvist 9fae604546 FUEL: One + less... 2013-08-07 18:35:07 +02:00
Björn Lindqvist 3fea81d7cc FUEL: Improve font-locking of constructs that span multiple lines. 2013-08-07 18:27:59 +02:00
Björn Lindqvist 830637c84d FUEL: Improved font-locking. Colors for USING expressions, hexadecimal numbers and tuple slots. 2013-08-05 11:16:23 -07:00
Björn Lindqvist 1358a9eb55 FUEL: Compatibility functions for Emacs 24.2. 2013-07-13 19:13:39 +02:00
Samuel Tardieu 13389a8400 FUEL: unmask `fuel-refresh-all`
`fuel-refresh-all` is documented as mapped onto "\C-c\C-r", but this was
masked by an undocumented mapping for `fuel-eval-region` (which is
already bound to "\C-c\C-e\C-r").
2013-06-07 00:11:21 +02:00
Erik Charlebois 7ab88c8b9d FUEL: Tweak package description 2013-05-12 13:22:41 -04:00
Erik Charlebois 8aa55dff52 FUEL: fuel-pkg.el file for MELPA metadata 2013-05-11 17:02:27 -04:00
Erik Charlebois 9b0989a901 FUEL: Documentation fixes 2013-05-07 22:28:42 -04:00
Erik Charlebois ba02db8485 FUEL: Fix Emacs package metadata for MELPA recipe 2013-05-07 02:03:26 -04:00
Erik Charlebois deb0ceaa9c Large reorg of FUEL codebase
* Modernize the FUEL elisp code for Emacs 24.3. Emacs 24.3 deprecated
the old 'cl lib and standardized a new 'cl-lib lib to put the name
clash issues to rest once and for all. This version of FUEL now requires
24.3.
* Move FUEL code that was needed by factor-mode into factor-mode and
rename appropriately. factor-mode and FUEL are now clearly separated
and FUEL depends on factor-mode.
* Set up FUEL with appropriate autoloads so that it's Emacs 24 package
manager friendly. FUEL can now be uploaded to MELPA or some similar
package manager.
* Changed the Factor faces for font locking to inherit from the default
Emacs faces rather than defaulting to other colors. This means that
Emacs themes will work for Factor code out of the box. Further
tailoring of Factor-specific faces can be done by users themselves.
* Cleaned up a lot of code to use Emacs conventions
(define-defined-mode, define-minor-mode, indent-function, etc) and added
a propery syntax table so that paren matching works, and word/symbol
skipping works.
* Added a new minor mode, fuel-autohelp-mode, that displays the help for
the symbol under point in another window. A fusion of fuel-autodoc-mode
and fuel-help-mode that's quite handy for reading Factor code.
2013-05-07 01:41:12 -04:00
mcandre 946b18fde3 preparing FUEL for MELPA 2013-04-24 06:56:43 -07:00
John Benediktsson dc27c21ab0 editors.textadept: use "-e goto_line(n-1)".
(as suggested by Mitchell@foicica.com on the textadept mailing list)
2013-04-01 14:56:24 -07:00
Michael T. Richter 881aa979b8 Added Lua source files for Textadept editor support for Factor. 2013-04-01 06:30:01 -07:00
John Benediktsson f27bb01ec8 misc/vim: highlight numbers with leading "+" (e.g., "+12"). 2013-03-16 13:50:09 -07:00
John Benediktsson 2d68c470ea misc/fuel: try and fix autodoc bug report. 2013-03-08 14:34:43 -08:00
John Benediktsson 61ae9cab75 misc/icons: renaming to old convention, adding 48x48. 2012-12-01 09:30:33 -08:00
John Benediktsson 9c295e679e New icons for Factor. 2012-11-30 15:26:21 -08:00