Using ANTLR to convert SAS to spark jobs

133 views
Skip to first unread message

Pranab Chaudhuri

unread,
Jun 13, 2017, 2:47:51 AM6/13/17
to antlr-discussion
Hi,
  I want to use ANTLR to convert SAS files to SPARK jobs. Any help/pointers would be really appreciated.

 ~Thanks,
    Pranab.

Pranab Chaudhuri

unread,
Jun 16, 2017, 4:09:20 AM6/16/17
to antlr-discussion
Bumping this thread as this is urgent for me. Any inputs will be really appreciated.

 ~Pranab.

Mike Cargal

unread,
Jun 18, 2017, 4:15:26 PM6/18/17
to ANTLR List
I don’t think you’ll find anything “magic” about what ANTLR provides for this problem.  Essentially, you’d have an ANTLR grammar for SAS and us that to “understand” what your SAS code does.  From there, you’d need to work out how you do the “same thing” in Spark, and generate that.  When it comes time to generate, definitely take a look as StringTemplate as i’t very good with code generation.

--
You received this message because you are subscribed to the Google Groups "antlr-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to antlr-discussi...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages