Friday, 5 September 2014

Overview

Introduction

I have recently started looking at various DSL technologies out there to find best fit for my use. With some knowledge on EMF couples years back, Xtext has impressed me the most. I still have some learning curve to go through before I can convince my self this is the tool for me.

The way I want to do this is by picking up one rather medium to complex DSL out there (Its always good to pick up a mature DSL with years of real use in the field) and prove Xtext about to handle it in flying colors!

My choice of DSL for this use-case is MIB. Basic objective is to open any given mib file with full syntax highlighting, content assist (pretending we can edit it) plus it should resolve imports from its dependency MIB  files (definitions). And to make it more interesting, finally it should generate list of oid object by name, full dotted notation, derived data type and its primitive data type.

Target

The real target of this is rather for me to go journal my learning process on Xtext - not so much on MIB Parser - but it will be a bonus if get it done as well. 

There are some very good documentations, tutorials on Xtext out there and I don't intent this to be called any of those. I rather would like to invite everyone to share and feedback on each of the entries that I have added to make this learning more fun plus hopefully will benefit others along the way.

That said, I would like to add a disclaimer that this code may not be production worthy and take it with a pinch of salt.

No comments:

Post a Comment