Skip to content

Objective-C Scanner #46

Open
Open
@nathany

Description

@nathany
Contributor

From: http://odd-eyed-code.org/issues/32

Tony Arnold asked for an Objective-C Scanner.

"Objective-C support would be great in CodeRay (and therefore Redmine). I haven't really looked at how CodeRay works (I'm not a Ruby developer), but is it possible to provide highlighting for Cocoa classes in addition to language syntax and keywords? See http://coderay.rubychan.de/rays/show/6332 for an example of "Cocoa heavy" Objective-C." @danthorpe

"Sure! A list of all the built-in names would be great. Objective-C is becoming more popular, and I'm a little familiar with it. You can speed up the work by collecting more (public domain or LGPL) example code." - @korny

Activity

ghost assigned on Jun 13, 2013
korny

korny commented on Jun 23, 2013

@korny
Member

Since I didn't start this one yet, let's push it to 1.2.

josefsalyer

josefsalyer commented on Jul 26, 2013

@josefsalyer

Hi! I need this. What do you need to get rolling?

korny

korny commented on Jul 26, 2013

@korny
Member

More free time ;-)

And example code, lots of crazy syntax examples.

nathany

nathany commented on Jul 26, 2013

@nathany
ContributorAuthor

I have a few Objective-C books I may be able to pull examples from.

josefsalyer

josefsalyer commented on Jul 26, 2013

@josefsalyer

I have more than few projects to pull code from.

Josef Salyer
@josefsalyer
480.286.5875

On Jul 26, 2013, at 12:16 PM, Nathan Youngman notifications@github.com wrote:

I have a few Objective-C books I may be able to pull examples from.


Reply to this email directly or view it on GitHub.

nathany

nathany commented on Jul 26, 2013

@nathany
ContributorAuthor
josefsalyer

josefsalyer commented on Jul 26, 2013

@josefsalyer

I forked it and checked it out. Is there a particular git workflow that I
should use? Also, where is a good place to drop sample .h/.m files?

On Fri, Jul 26, 2013 at 5:31 PM, Nathan Youngman
notifications@github.comwrote:

Cool. Checkout the https://github.com/rubychan/coderay-scanner-tests repo.


Reply to this email directly or view it on GitHubhttps://github.com//issues/46#issuecomment-21649480
.

nathany

nathany commented on Jul 26, 2013

@nathany
ContributorAuthor

You'll need to create an objective-c folder with some .in.m files, just take a peek at how the other languages do it. I'm pretty sure there is a rake test to do some setup for you, but I don't remember off-hand. Feature branch + pull request would be grande.

korny

korny commented on Jul 27, 2013

@korny
Member

The easiest way should be to check out the CodeRay repo and just run rake test:scanners. It checks out coderay-scanner-tests automatically then into a subfolder.

tompave

tompave commented on Dec 22, 2013

@tompave

I'd like to start working on this one.
Are the guidelines still valid?
Is there any previous work I should be aware of?

4 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @nathany@josefsalyer@korny@tompave

      Issue actions

        Objective-C Scanner · Issue #46 · rubychan/coderay