Commit Graph

61 Commits

Author SHA1 Message Date
Ben S
4ee8768ce3 Add macro_rules! clipping 2015-08-01 22:17:15 +01:00
Ben S
77b2980f41 'us' and 'is' -> 'usize' and 'isize' 2015-08-01 22:17:07 +01:00
Ben S
11aa41ff48 Fix all the std::fmt function signatures 2015-07-24 18:20:42 +01:00
Ben S
53cf427f4f Macro variables shouldn't use spaces like this 2015-07-22 21:23:19 +01:00
Benjamin Sago
0ec4a6ccd1 Add std::iter traits 2015-07-19 19:50:42 +01:00
Benjamin Sago
19aecb6e55 impl-generator documentation. 2015-07-19 18:58:36 +01:00
Benjamin Sago
f53dfbc9fc Fix regex and add tests
The previous regex failed against Test 5 (generic_generics).
2015-07-19 17:23:38 +01:00
Ben S
55bb739dbe Add impl-generator script! 2015-07-15 16:56:41 +01:00
Ben S
eb06c53efc Add a bunch of clippings! 2015-07-15 15:14:26 +01:00
Ben S
d8fd3d0bd1 Update installation instructions 2015-07-15 14:23:02 +01:00
Ben S
2e92e9cd82 Start including a compiled version in the repo
This makes it possible for users to upgrade with a simple `git pull`,
rather than having to re-download the latest release from GitHub each
time - after checking that there is one, first!

It also converts it from just a `.bblm` file to an entire `.bbprojectd`
file, allowing me to add things like Clippings and Text Filters in the
future. (Planned!)
2015-07-15 14:14:53 +01:00
Ben S
6bc2dac873 Another version bump! 0.4.0 2015-05-03 12:25:52 +01:00
Ben S
07b020f253 Detab the plist 2015-05-03 12:24:31 +01:00
Ben S
ec10c4bf7f Add loads more built-in types 2015-05-03 12:24:22 +01:00
Ben S
e28267063f Update README 2015-03-16 22:02:24 +00:00
Ben S
adbf51d973 Add code folding!
Also, fix weird-looking function definitions.
2015-03-16 21:49:15 +00:00
Ben S
439556cbe4 Check end of word after scanning functions
'enumerate' is not 'enum' with some bits after it!
2015-03-16 18:35:00 +00:00
Ben S
0fe7412e14 Parse definitions with lifetimes correctly
This is actually achieved by making the parsing *more lenient* instead of more strict. The view looks more cluttered as a result, but at least it's *correct*. Nothing I can do about the clutter, as far as I know - BBEdit only allows us to use substrings of the document in the menu, so I can't strip out the lifetimes.
2015-03-16 18:19:56 +00:00
Ben S
565243f64b Update screenshot 2015-02-21 13:44:55 +00:00
Ben S
46fe844c16 Version bump 0.3.1 2015-02-21 13:29:11 +00:00
Ben S
bfdc57e356 Fix infinite loop when writing code at end of file
This resulted in my BBEdit hanging.
2015-02-21 13:27:29 +00:00
Ben S
1154b0df63 Highlight module names in 'use...as' statements 2015-02-21 13:27:05 +00:00
Ben S
2c05ab8682 Download link bump 2015-02-15 14:06:55 +00:00
Ben S
822eb95303 But there's only one type of string 0.3 2015-02-15 13:48:41 +00:00
Ben S
da342c1b7d Simplify macro-highlighting code 2015-02-15 13:43:15 +00:00
Ben S
81197c7d45 Detect r##"raw strings"## 2015-02-15 13:23:32 +00:00
Ben S
e6c0074733 Smarten up attribute highlighting 2015-02-15 13:07:24 +00:00
Ben S
5452afbb9c Replace identifier colour with preprocessor colour 2015-02-15 13:07:10 +00:00
Ben S
2c06798f84 Allow 'us' and 'is' machine-dependent suffixes 2015-02-15 12:54:55 +00:00
Ben S
d2549503b5 Add smoke test thing to save me from testing 2015-02-15 12:49:34 +00:00
Ben S
3b9fc0817c Add all the other keywords I missed 2015-02-15 12:27:35 +00:00
Ben S
82931045a2 Highlight macro_rules! definitions + arguments 2015-02-15 02:44:29 +00:00
Ben S
51e8755030 where wasn't a keyword already? 2015-02-15 02:24:35 +00:00
Benjamin Sago
9932fb4761 Replace int/uint with isize/usize 2015-01-11 12:43:57 +01:00
Ben S
79a65307f0 Changes to the way numbers are highlighted
They were being highlighted after underscores in variable names, and underscores weren't being catered for in non-base-ten numeric literals. Now, fixed!
2014-12-24 14:11:32 +00:00
Ben S
c98ec54134 Skip over modules called 'test' 2014-12-05 21:47:52 +00:00
Ben S
98a15cf36a Skip over empty function/module definitions 2014-12-05 20:51:08 +00:00
Ben S
34bbe47973 Turns out numbers are valid identifier components 2014-12-05 20:08:26 +00:00
Ben S
69e12ea420 Subtly change the way 'use' lines are highlighted 2014-12-05 20:07:08 +00:00
Ben S
92862fc0a3 Merge pull request #1 from crdx/trailing-spaces
remove trailing spaces
2014-11-29 16:45:23 +00:00
Sean S
dbb13d4816 remove trailing spaces 2014-11-29 16:43:56 +00:00
Ben S
38deac77fe oops 2014-11-28 23:38:42 +00:00
Ben S
affebcf878 Bump release link 2014-11-28 23:38:30 +00:00
Ben S
55bbe945ae And add the screenshot to the readme! 2014-11-28 23:18:16 +00:00
Ben S
3b76b3429f Add a screenshot 2014-11-28 23:16:22 +00:00
Ben S
af4c34887f Highlight numbers in 'use' statements
Thanks, std::f64::consts...
0.2
2014-11-27 05:19:10 +00:00
Ben S
c8ebb59385 Sort out keywords 2014-11-26 00:09:04 +00:00
Ben S
6668052266 Highlight binary and octal literals 2014-11-25 20:02:24 +00:00
Ben S
91d69de57f Highlight hex literals 2014-11-25 19:44:29 +00:00
Ben S
01998a20bc Require whitespace after mod, fn, and use 2014-11-25 18:36:07 +00:00