Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6367741
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T00:35:15+00:00 2026-05-25T00:35:15+00:00

I am curious to learn about creating a domain specific language. For now the

  • 0

I am curious to learn about creating a domain specific language. For now the domain is quite basic, just have some variables and run some loops, if statements.

Edit :The language will be Non-English based with a very simple syntax .

I am thinking of targeting the Java Virtual Machine, ie compile to Java byte code.

Currently I know how to write some simple grammars using ANTLR.

I know that ANTLR creates a lexer and parser but how do I go forward from here?

  • about semantic analysis: does it have to be manually written or are there some tools to create it?
  • how can the output from the lexer and parser be converted to Java byte code?
  • I know that there are libraries like ASM or BCEL but what is the exact procedure?
  • are there any frameworks for doing this? And if there is, what is the simplest one?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T00:35:16+00:00Added an answer on May 25, 2026 at 12:35 am

    You should try Xtext, an Eclipse-based DSL toolkit. Version 2 is quite powerful and stable. From its home page you have plenty of resources to get you started, including some video tutorials. Because the Eclipse ecosystem runs around Java, it seems the best choice for you.

    You can also try MPS, but this is a projectional editor, and beginners may find it more difficult. It is nevertheless not less powerful than Xtext.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

As I learn more about KVO and KVC, I have become curious - How
I've just started to learn python. I'm curious about what are the efficient ways
curious if anyone might have some insight in how I would do the following
I'm curious what are some good open source projects written in c# to learn
I'm quite curious about your experience learning html, css, php, js web standards etc.
So I was just curious, I am starting to learn how to develop games
I am curious to learn Boost . But I wanted to ask: How important
Curious to get people's thoughts. I conduct frequent interviews, and have had enough in
Curious whether folks have setup 2 way transactional replication on the tables ASP.NET uses
I'm curious to learn how Etherpad and Google Docs automatically save data. When you're

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.