Feature #127
Clojure Scanner
| Status: | New | Start: | 10/04/2009 | ||
|---|---|---|---|---|---|
| Priority: | Normal | Due date: | |||
| Assigned to: | % Done: | 80% |
|||
| Category: | Scanner requests | ||||
| Target version: | 1.0 RC1 |
Description
A nice new language, maybe licenser can help with the implementation.
Example code is already in the repo.
Associated revisions
History
Updated by Kornelius Kalnbach 11 months ago
- Tracker changed from Bug to Feature
Updated by Kornelius Kalnbach 11 months ago
- Target version set to 1.1
Updated by Kornelius Kalnbach 8 months ago
- Assigned to changed from Kornelius Kalnbach to Heinz Gies
Updated by Heinz Gies 4 months ago
- File clojure.rb added
So a first version based on the Scheme scanner.
Updated by Kornelius Kalnbach 4 months ago
Thank you!
But I'm sorry, I am just now completely changing the Tokens API ;) I've already rewritten all the supported scanners, but I'll be updating yours for free because you couldn't know.
You said there were some problems when you implemented this? Can you elaborate?
Also, we need lots and lots of test code.
Updated by Heinz Gies 4 months ago
- % Done changed from 0 to 50
Update that takes care of clojuresq function names.
Updated by Kornelius Kalnbach 4 months ago
- Target version changed from 1.1 to 1.0 RC1
Clojure Syntax: http://clojure.org/reader
Updated by Heinz Gies 3 months ago
- File clojure.rb added
- % Done changed from 50 to 80
Some more cleanup
Updated by Heinz Gies 3 months ago
- File deleted (
clojure.rb)
Updated by Heinz Gies 3 months ago
- File deleted (
clojure.rb)
Updated by Heinz Gies 3 months ago
- File deleted (
clojure.rb)
Updated by Heinz Gies 3 months ago
- File clojure.rb added
- File epic.in.clj added
- File clj-swing.in.clj added
- File clj-highlight.in.clj added
- File clicky.in.clj added
- File swing.in.clj added
Test and an example scanner are here:
Updated by Kornelius Kalnbach 2 months ago
A list of functions annd macros: http://clojure.org/cheatsheet
Updated by Heinz Gies 2 months ago
Kornelius Kalnbach wrote:
A list of functions annd macros: http://clojure.org/cheatsheet
I'm not certain if this is the entire list of core macros and functions. http://richhickey.github.com/clojure/index.html should be more complete.
Updated by josh cheek about 1 month ago
Hi. I need Clojure highlighting, I am using it with Kramdown, is there a walkthrough somewhere for how I could use the above work in my project?
Updated by Heinz Gies about 1 month ago
josh cheek wrote:
Hi. I need Clojure highlighting, I am using it with Kramdown, is there a walkthrough somewhere for how I could use the above work in my project?
Coderay is a library so it is fairly easy, you can see the API documentation here http://coderay.rubychan.de/doc/ it also includes some code examples, if you plan to write stuff in clojure there is also a clojure highlighter in clojure, clj-highlight, so coderay is currently faster and better I'd say.
Regards,
Heinz
Updated by Kornelius Kalnbach about 1 month ago
josh cheek wrote:
Hi. I need Clojure highlighting, I am using it with Kramdown, is there a walkthrough somewhere for how I could use the above work in my project?
Never heard of kramdown before, but since it's a Ruby library, it should be as easy as putting a require 'my-clojure-scanner' somewhere after CodeRay was loaded.