Commit Graph

329 Commits (fdcbf0d11004561e0b25b90c6359a0a3f774955c)

Author SHA1 Message Date
Björn Lindqvist b6f3cf3199 FUEL: fontification of COLOR: and HEXCOLOR: 2016-08-21 02:23:31 +02:00
Björn Lindqvist a26d910b06 FUEL: font-locking improvments
Highlighting of flags{, HEX{ and of array parameters passed to c
functions.
2016-08-20 03:41:51 +02:00
Björn Lindqvist a6544c0acb FUEL: use the right quot-char in pcases 2016-08-16 03:23:41 +02:00
Björn Lindqvist 2e9704a406 FUEL: syntax fixes for MAIN-WINDOW:, LOG: and TUPLE: with initial values 2016-07-30 19:03:23 +02:00
Björn Lindqvist faffdcf047 FUEL: add (require 'smie), fixes #1672 2016-07-13 17:34:08 +02:00
Björn Lindqvist 5345e32b84 FUEL: readding factor-method-definition-regex
It is needed by the fuel-refactor--def-word function.
2016-07-02 15:51:00 +02:00
Björn Lindqvist ecb462cf29 FUEL: unused function removed 2016-07-02 15:51:00 +02:00
Björn Lindqvist 1e7e0e9876 FUEL: better symbol-capturing regexp and support for X-FUNCTION 2016-07-02 15:50:59 +02:00
Björn Lindqvist 114ced868a FUEL: new indentation system based on smie
smie makes writing the indentation code much simpler. It also takes care
of some corner cases that led to bad indentation before like stack
effects split over multiple lines.

See: http://emacs.1067599.n5.nabble.com/SMIE-examples-or-guides-td400784.html
2016-07-02 15:50:59 +02:00
Björn Lindqvist a284660490 FUEL: makes accessors and tuple slots with backslashes highlight correctly 2016-06-30 02:42:23 +02:00
Björn Lindqvist e8a62460aa FUEL: fix highlighting of strings escaping quote characters
(modify-syntax-entry ?\\ "_" table) was wrong, instead a bigger regexp
is needed.
2016-06-30 01:00:42 +02:00
Björn Lindqvist 70c413e403 FUEL: simplifying 2016-06-26 13:36:03 +02:00
Björn Lindqvist de8d2fa302 FUEL: factor-previous-non-blank unused and adding doc 2016-06-19 03:23:35 +02:00
Björn Lindqvist 179b565b2b FUEL: set context to (factor-current-vocab), in case it's a word defined
in the current buffer
2016-05-25 23:00:45 +02:00
Björn Lindqvist 7efad3c3c3 FUEL: fix so that radixed numbers with commas get highlighted 2016-05-25 22:03:05 +02:00
Björn Lindqvist f0f58a9a89 FUEL: highlight of SLOT: syntax and backslashes in names 2016-05-23 02:23:21 +02:00
Björn Lindqvist 4c8a1b79dc FUEL: syntax debugging file
This file is intended to contain lots of weird syntax. So if you change
something in FUEL, you can open the file to verify it still syntax
highlights correctly.
2016-05-23 02:23:12 +02:00
Björn Lindqvist 0bb00921d9 FUEL: shouldn't clobber the 'symbol variable for thing-at-point, fixes #1592 2016-03-28 14:29:31 +02:00
Björn Lindqvist d9711b96d2 FUEL: support for the $sequence help syntax 2016-03-22 17:52:19 +01: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
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
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
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
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
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
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
Björn Lindqvist 6c6df7279b FUEL: make it so fuel-con-error is shown in *fuel debug* 2014-04-25 08:49:50 -07:00