Feature #42
Java Scanner
| Status: | Closed | Start: | 09/12/2008 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assigned to: | % Done: | 100% |
||
| Category: | Scanner requests | |||
| Target version: | 0.8 |
Description
We need to support at least the most popular language ;)
We should have no trouble to find example code. JRuby?
Associated revisions
New: Java Scanner (closes #42).
- Based on JavaScript, does a good job, but may need more polish.
- Java::BuiltinTypes::List is a helper constant that contains 2389 Java types.
- The list was generated from TextMate's Java bundle with the help of SimpleRegexpScanner.
- I added the JRuby core classes as example code for testing (1.8 MB)
- Fixed recognition of floats and algebraic signs.
- Still needs work - we need to distinguish i-1 from i+-1.
- New: SimpleRegexpScanner
- Added new token class :annotation along with CSS styles.
- Should be useful for Python, too.
- coderay_suite warns if no scanner was found for this language.
- PluginHost#default can be called without parameter (will return default id)
History
Updated by Kornelius Kalnbach almost 2 years ago
Maybe it's easier to base it on the JavaScript Scanner.
Updated by Kornelius Kalnbach almost 2 years ago
- Status changed from New to Closed
- % Done changed from 50 to 100
Applied in changeset r255.