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 7428383
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T08:44:14+00:00 2026-05-29T08:44:14+00:00

I am building an AST tree by hand to use with my application. I

  • 0

I am building an AST tree by hand to use with my application. I currently have a lot of data in my program’s memory using a standard OO approach, that will use to form an AST.

I was wondering if by chance there are already any frameworks / code generators that could help me with this task.

I am not looking for a compiler compiler. I don’t want to define a grammar and have the code generator generate me a parser for it. I intend to instantiate the nodes of the tree by myself, I am only looking for a faster and cheaper way to build the .java files themselves (a plus would be having options for the node’s attributes, optional beginVisit() / endVisit() methods, etc).

  • 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-29T08:44:15+00:00Added an answer on May 29, 2026 at 8:44 am

    This seems to be the answer to the question:

    http://www.jetbrains.com/mps/

    The major goal of MPS is to allow extending languages. This is because
    every existing language already has a strict language syntax defined,
    which limits its flexibility.

    The problem in extending language syntax is mainly the textual
    presentation of code. This is especially true if we want to use
    different language extensions, where each one may have its own syntax.

    This naturally leads to the idea of non-textual presentation of
    program code. A major benefit of this approach is that it eliminates
    the need for code parsing. Our solution is to have code always
    maintained in an Abstract Syntax Tree (AST), which consists of nodes
    with properties, children and references, and fully describes the
    program code.

    At the same time, MPS offers an efficient way to keep writing code in
    a text-like manner.

    In creating a language, you define the rules for code editing and
    rendering. You can also specify the language type-system and
    constraints. This allows MPS to verify program code on the fly, and
    thus makes programming with the new language easy and less
    error-prone.

    MPS uses a generative approach. You can also define generators for
    their language to transform code in the custom language to compilable
    code in some conventional language. Currently, MPS is particularly
    good for, but is not limited to, generating Java code. You can also
    generate XML, HTML, JavaScript, and more.

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

Sidebar

Related Questions

Building an ASP.NET MVC3 application at work and I'm trying to use a program
building a site using PHP and MySQL that needs to store a lot of
Building my first SL MVVM application (Silverlight4 RC) and have some issues i don't
I have a tree parser that's doing semantic analysis on the AST generated by
What is the purpose of using AST while building a compiler (with ANTLR). Is
I'm building a spreadsheet-like application, where a lot of small calculations needs to be
I am building an application that makes heavy use of Enum s for custom
Building an application to calculate metrics on Service Level Agreements. I have access to
Building an inventory system. I have lots of products and each product has three
Building a new ASP.net application, and planning to separate DB, 'service' tier and Web/UI

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.