Stack Overflow is a community of 4.7 million programmers, just like you, helping each other.

Join them; it only takes a minute:

Sign up
Join the Stack Overflow community to:
  1. Ask programming questions
  2. Answer and help your peers
  3. Get recognized for your expertise

My company uses a scripting language which i have not been able to find the origins of. It seems to be bits of everything.

Anyway im sick of making stupid mistakes in my code and it not being picked up until runtime. Or more complicated issues like the accidental reuse of global and local variables without noticing which can cause unexpected results which are hard to trace.

Id like to write a syntax checker and im looking for recommendations on how to go about this. Im a C# developer so that would be my language of choice.

Anyone know of any open source similar developments which i vould modify or atleast give me some ideas about how to go about this?

share|improve this question
    
you want to create your own scripting language? – user2176240 Mar 21 '13 at 11:50
    
Although I find your question interesting, I believe it is not appropriate to the rules of this site. See About page Get answers to practical, detailed questions – Steve Mar 21 '13 at 11:52
    
No my company has already created their own scripting language but they have not created a syntax checker for it. Im looking to write a syntax checker. – CathalMF Mar 21 '13 at 11:52
    
@CathalMF How extensively used is this scripting language? All these problems seem like a good indicator to get shot of it in favour of a mature scripting language with tool support. – Adam Houldsworth Mar 21 '13 at 11:55
1  
@CathalMF I'd suggest also taking this requirement back to your team in order to invest time creating tools. Compile-time checks can save time later, this is usually a good selling point to the management team. – Adam Houldsworth Mar 21 '13 at 11:58
up vote 1 down vote accepted

Usually, if you want a syntax checker, you go to Lex/Yacc, I think.

Another solution may be Irony, though I didn't use it by myself.

A last solution would be to do it on your own.

share|improve this answer
    
Irony looks very useful and at the very least it will give me some good ideas. – CathalMF Mar 21 '13 at 12:00
    
@CathalMF Glad it helped, you can upvote me now and if it really helped you realizing your syntax checker, then come back to validate my answer ;) – LaGrandMere Mar 21 '13 at 12:01

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.