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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T01:31:36+00:00 2026-05-24T01:31:36+00:00

Our company uses own (built in here) scripting language for programming, but they would

  • 0

Our company uses own (built in here) scripting language for programming, but they would like to create interpreter that will translate this script codes to Java. This scripting language is quite serious, so it’s no small thing.

I’ve been asked about this task, but it doesn’t seem like trivial challenge. Now before I do anything stupid and start writing billions of lines of parsing, what should I know? Where should I start to make this properly?

PS: I want to translate script files to .java sources, not directly to bytecode.

  • 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-24T01:31:37+00:00Added an answer on May 24, 2026 at 1:31 am

    If you want to translate your script to Java, it’s not an interpreter, but a compiler. If you are thinking about just executing the script during reading, it is interpreter.

    However, you should look at JavaCC or Antlr. They are both suitable even for compiling or interpreter tasks. You have to specify the language’s syntax rules and you have to write some additional logic in Java, implementing semantics of your script language. If you want to make an interpreter, the Java code you write, will generate further Java (or any) code. If you want a compiler, the Java code you write will directly execute the script.

    One more concept to good to know about is Abstract Syntax Tree.

    Here is a comprehensive list about more lexer and parser generators.

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

Sidebar

Related Questions

I have an old project at our company that uses shell scripting a lot.
Our company uses Skype for communications, and I'd like to be able to send
Kinda a random question, but our company uses Jenkins http://jenkins-ci.org/ Anyways there is a
Our company's ecommerce shop uses magento application. Everything is going well but there is
Our company uses Citrix to remote into a terminal server for remote users to
Our company uses an app that was originally ColdFusion + Access later converted to
I work at a small company and our production system uses a hand-rolled RESTful
The company I work for currently uses Go To Meeting to share our desktops
Our company is considering upgrading our SQL server. At this point, would it be
Our Company uses a closed sourced shopping cart system for its e-comreace web site.

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.