I have a new bundle I have written for N3/Turtle. I saw a request in for RDF so I suspect there is a fellow semantic webster out here somewhere. I have pretty good syntax highlighting although it is pretty much the turtle subset of N3 right now...re:
http://www.dajobe.org/2004/01/turtle/
I was pretty unsatisfied with the only emacs mode out there:
http://larve.net/people/hugo/2003/scratchpad/NotationThreeEmacsMode.html
And have recently started using Textmate, and started working on this bundle.
This bundle also has the ability to become the basis for a SPARQL bundle as that is also based on the N3 syntax.
Anyway, the bundle is useful to me and without people requesting fixes it will never get better. You know, I'll fix anything that doesn't fit my coding style but that won't take long.
Main feature: I highlight subject, predicate and object (also literal vs iri objects) rather than uri vs qname color.
Anyway, just looking for anyone else interested in N3 or any bundle dev advice in general as this is a new platform for me after a long emacs relationship.
-- ciao, Phil
On Feb 7, 2007, at 4:54 PM, Philip Cooper wrote:
I have a new bundle I have written for N3/Turtle. I saw a request in for RDF so I suspect there is a fellow semantic webster out here somewhere. I have pretty good syntax highlighting although it is pretty much the turtle subset of N3 right now...re:
Ah, this is great news. Since I started using TM, I only keep Emacs around for the really bad N3 mode, since I end up writing a fair bit of N3 by hand (alas).
I was pretty unsatisfied with the only emacs mode out there:
http://larve.net/people/hugo/2003/scratchpad/ NotationThreeEmacsMode.html
It's awful.
This bundle also has the ability to become the basis for a SPARQL bundle as that is also based on the N3 syntax.
Well, sorta-kinda. SPARQL graph patterns are pretty much the Turtle subset of N3, but the rest of it is more SQLish, so you may be able to lift bits from the SQL bundle. At any rate, a SPARQL bundle for TM is a Very Good Thing. :>
Anyway, just looking for anyone else interested in N3 or any bundle dev advice in general as this is a new platform for me after a long emacs relationship.
I'd love to use yr new bundle; is it available yet?
Cheers, Kendall
A bit of a premature announcement, but I've been putting together a bundle for a special OWL syntax I use. If there really is a significant semantic web TextMate community, look for a paper on text- editor-compatible OWL syntax at OWL-ED this year.
-rob
On 7 Feb 2007, at 22:13, Kendall Clark wrote:
On Feb 7, 2007, at 4:54 PM, Philip Cooper wrote:
I have a new bundle I have written for N3/Turtle. I saw a request in for RDF so I suspect there is a fellow semantic webster out here somewhere. I have pretty good syntax highlighting although it is pretty much the turtle subset of N3 right now...re:
Ah, this is great news. Since I started using TM, I only keep Emacs around for the really bad N3 mode, since I end up writing a fair bit of N3 by hand (alas).
I was pretty unsatisfied with the only emacs mode out there:
http://larve.net/people/hugo/2003/scratchpad/ NotationThreeEmacsMode.html
It's awful.
This bundle also has the ability to become the basis for a SPARQL bundle as that is also based on the N3 syntax.
Well, sorta-kinda. SPARQL graph patterns are pretty much the Turtle subset of N3, but the rest of it is more SQLish, so you may be able to lift bits from the SQL bundle. At any rate, a SPARQL bundle for TM is a Very Good Thing. :>
Anyway, just looking for anyone else interested in N3 or any bundle dev advice in general as this is a new platform for me after a long emacs relationship.
I'd love to use yr new bundle; is it available yet?
Cheers, Kendall
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
On Feb 7, 2007, at 5:24 PM, Rob Shearer wrote:
A bit of a premature announcement, but I've been putting together a bundle for a special OWL syntax I use.
Which one? MOS?
If there really is a significant semantic web TextMate community, look for a paper on text-editor-compatible OWL syntax at OWL-ED this year.
I'm on the OWLED program committee, so I'll review that one to be sure. But it's a good idea; 'scribbability' is a very nice feature in a syntax, generally. I mean, this goes well beyond TM.
Cheers, Kendall Clark
On Wed, Feb 07, 2007 at 05:13:59PM -0500, Kendall Clark wrote:
On Feb 7, 2007, at 4:54 PM, Philip Cooper wrote:
I have a new bundle I have written for N3/Turtle. ...
Ah, this is great news. Since I started using TM, I only keep Emacs around for the really bad N3 mode, since I end up writing a fair bit of N3 by hand (alas).
Yeah N3 is easier on the eyes but the xml modes available for rdf vs monochromatic n3 was always a lesser of two evils thing.
This bundle also has the ability to become the basis for a SPARQL bundle as that is also based on the N3 syntax.
Well, sorta-kinda. SPARQL graph patterns are pretty much the Turtle subset of N3, but the rest of it is more SQLish, so you may be able to lift bits from the SQL bundle. At any rate, a SPARQL bundle for TM is a Very Good Thing. :>
Yeah, the SQLish part is pretty small and easy to do since all the N3 stuff is scoped inside the curly brackets.
That part will be cooler because the snippets and macros you could put in place.
I'd love to use yr new bundle; is it available yet?
The Textmate grand guru is on vaca right now but I'll post to the Textmate SVN when he returns. I will be putting up a web page for it also but only after I get around to installing trac (it's time for me to say goodbye to Zope).
Email me direct and I will forward a zip file in the interim.
Why don't you guys put all of these language grammars and related support in a single "Semantic web" bundle and add it to TM's svn repository?
On Wed, Feb 07, 2007 at 11:54:52PM +0000, Jacob Rus wrote:
Why don't you guys put all of these language grammars and related support in a single "Semantic web" bundle and add it to TM's svn repository?
OWL and RDF are both XML dialects and N3/Turtle are a different animal so I suspect they will not be in the same bundle.
Point well taken though that scope.names, key selectors and commands like validation should all be consistent if we can pull it off.
Philip Cooper <Philip.Cooper@...> writes:
On Wed, Feb 07, 2007 at 11:54:52PM +0000, Jacob Rus wrote:
Why don't you guys put all of these language grammars and related support in a single "Semantic web" bundle and add it to TM's svn repository?
OWL and RDF are both XML dialects and N3/Turtle are a different animal so I suspect they will not be in the same bundle.
So? None of them belong in the XML bundle, or some other bundle. And making 3-4 different bundles for different semantic web languages is overkill.
My point is that users who want one of these are likely to want several of them. That the language syntaxes are dissimilar has no impact on that. I'm not saying they should inherit from the same scope, just that they should be in the same bundle. This avoids gumming up the list of bundles with unnecessary stuff, clearly marks for users what "turtle" is (hint: hardly anyone has any idea), and allows functionality which spans a few of these languages to be in one place.
-Jacob
Off topic post script: gmane.org has a captcha for posting via its web interface. The word I have to enter in the box below is "motherf***ers". I shit you not.
Just an update here.
I've posted some info on the N3/Turtle bundle here:
http://trac.openvest.org/wiki/n3SyntaxHighliting
I've also started to work on some SPARQL there.
The short version is: yes it's ready for public consumption (no warranties or indication of suitability ...blah blah blah)
Perhaps the last posting (re a larger semantic web bundle) is how it should be incorporated into the textmate bundles svn. I'll wait to see if there are any other Semantic web bundles in the works.
-- Phil
Philip Cooper wrote:
I've posted some info on the N3/Turtle bundle here:
[...]
Perhaps the last posting (re a larger semantic web bundle) is how it should be incorporated into the textmate bundles svn. I'll wait to see if there are any other Semantic web bundles in the works.
I suggest either asking allan for svn access, or sending someone with svn access (there are lots of us) a copy of the bundle. I'd be happy to see a 'semantic web' bundle added to the repository.
-Jacob
On Feb 25, 2007, at 5:14 PM, Jacob Rus wrote:
Philip Cooper wrote:
I've posted some info on the N3/Turtle bundle here:
Corrected URL : http://trac.openvest.org/wiki/n3SyntaxHighlighting
I suggest either asking allan for svn access, or sending someone with svn access (there are lots of us) a copy of the bundle.
The link above gives the svn access to the bundle.
I have not renamed it to SemanticWeb or sw or whatever. It is still called N3 on my site but I have added more SPARQL support.
For anyone interested in n3/turtle, that same web page includes my Pygments lexer to allow for python driven coloring and even integration into a trac system.
-- ciao Phil