﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>Sagar commented on Custom Syntax Highlighting</title><description>Does anyone know how Eclipse handles syntax highlighting? There are some tips for using JFace Text and similar, but its not certainly as simple as in #develop!!
</description><link>http://ayende.com/3542/custom-syntax-highlighting#comment7</link><guid>http://ayende.com/3542/custom-syntax-highlighting#comment7</guid><pubDate>Fri, 22 Aug 2008 07:57:22 GMT</pubDate></item><item><title>Ayende Rahien commented on Custom Syntax Highlighting</title><description>Andrey,
  
I have only shown a very small part of it. It is most certainly possible to create a C# highlighting with it. In fact, there is such a language definition!
</description><link>http://ayende.com/3542/custom-syntax-highlighting#comment6</link><guid>http://ayende.com/3542/custom-syntax-highlighting#comment6</guid><pubDate>Thu, 21 Aug 2008 11:57:18 GMT</pubDate></item><item><title>Andrey Shchekin commented on Custom Syntax Highlighting</title><description>As far as I see from this XML, it is not a grammar -- it is a keyword list.
  
So it is not possible to create a valid C# highlighting using it.
  
  
The nice thing about working with grammar/AST is that you always get highlighting based on how this compiles (and doing compilation/parsing in background may actually make sense for small DSL files).
</description><link>http://ayende.com/3542/custom-syntax-highlighting#comment5</link><guid>http://ayende.com/3542/custom-syntax-highlighting#comment5</guid><pubDate>Thu, 21 Aug 2008 11:54:57 GMT</pubDate></item><item><title>Ayende Rahien commented on Custom Syntax Highlighting</title><description>Andrey,
  
It does, but you don't want to do that. It is too complex.
  
You suggestion is what #Develop does, but with XML instead of .g files
  
  
</description><link>http://ayende.com/3542/custom-syntax-highlighting#comment4</link><guid>http://ayende.com/3542/custom-syntax-highlighting#comment4</guid><pubDate>Wed, 20 Aug 2008 20:08:14 GMT</pubDate></item><item><title>Andrey Shchekin commented on Custom Syntax Highlighting</title><description>Does not the Boo-provided AST have enough information to do the highlighting? I've never lloked at the Boo compiler, but it is probably possible to get AST annotated with line/column numbers?
  
  
One of my dream projects was building ANTLR/Coco grammar-based highlighting support into Visual Studio -- basically a VS/*proj configuration option "*.x is handled by ..\..\x.grammar". Unfortunately actually implementing such thing can take an awful lot of time.
</description><link>http://ayende.com/3542/custom-syntax-highlighting#comment3</link><guid>http://ayende.com/3542/custom-syntax-highlighting#comment3</guid><pubDate>Wed, 20 Aug 2008 19:46:33 GMT</pubDate></item><item><title>josh commented on Custom Syntax Highlighting</title><description>huh. interesting &amp; pretty cool.  Do you use SharpDevelop often?
</description><link>http://ayende.com/3542/custom-syntax-highlighting#comment2</link><guid>http://ayende.com/3542/custom-syntax-highlighting#comment2</guid><pubDate>Wed, 20 Aug 2008 15:01:11 GMT</pubDate></item><item><title>Tobin Harris commented on Custom Syntax Highlighting</title><description>Good work! Looks great!
</description><link>http://ayende.com/3542/custom-syntax-highlighting#comment1</link><guid>http://ayende.com/3542/custom-syntax-highlighting#comment1</guid><pubDate>Wed, 20 Aug 2008 14:40:37 GMT</pubDate></item></channel></rss>