Ook Language Integration

This is the example used during the Visual Studio Ecosystem Summit Presentation "Getting Linguistic: Integrating a Language into Visual Studio" by Chris Granger.

 
 
 
 
 
(0)
7,357 times
Add to favorites
8/23/2011
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • User defined file extensions
    1 Posts | Last post Sat 9:36 AM
    • How can i improve this example that it will show up in Tool > Options > Text Editor > File Extensions in list of available editor to assign an user defined file extension?
  • 555-555-0199@example.com
    1 Posts | Last post October 13, 2017
    • 555-555-0199@example.com
  • Where is the VS Ecosystem Summit Video?
    2 Posts | Last post December 01, 2015
    • Can anyone find the associated video?  It is from the Visual Studio Ecosystem Summit Presentation "Getting Linguistic: Integrating a Language into Visual Studio" by Chris Granger. I can't seem to locate this
    • This one : 
      https://channel9.msdn.com/Blogs/VSIPMarketing/VSX212-Adding-a-Language-Service-into-Visual-Studio-2010
  • Does this still work in Visual Studio 2013?
    4 Posts | Last post March 31, 2015
    • Does this still work in Visual Studio 2013?
    • Sure
    • The updated sample code for Visual Studio 2013 is found here https://code.msdn.microsoft.com/VIsual-Studio-2013-SDK-728822a7. It is the sample called Ook Language sample - VS 2013. Builds clean out of the box.
    • Even more accurately, https://code.msdn.microsoft.com/windowsapps/Ook-Language-sample-VS-2013-92660d3d
  • Is it possible to extend a language?
    1 Posts | Last post March 13, 2015
    • I wrote a sweet.js macro that adds C#-style anonymous function declarations to JavaScript.  The issue is, of course, that the editor doesn't know anything about `foo => foo + 1` syntax in JavaScript.
      
      Mostly just for the experience, I'd like to see if I can get VS to recognize this syntax.  I have two options:
      1.  Somehow get VS to run my sweet.js macro before parsing my open .js/.sjs files.
      2.  Add this syntax to the JavaScript parser.
      
      I'm opting for option 2, since option 1 is insecure (https://github.com/mozilla/sweet.js/issues/163).  However, I'd rather not (read: won't) write my own JavaScript parser from scratch.  So, is there a class that VS already uses I can inherit/extend?