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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T20:11:59+00:00 2026-06-12T20:11:59+00:00

How does one write a language? I really can’t imagine how this would be

  • 0

How does one write a language? I really can’t imagine how this would be done. Do you have to write some binary code? I think I’m far from capable of writing a real programming language — I’m a hobby programmer — but I just want to understand how it works.
I don’t ask for ‘a working demo’ (because I presume that’d be a demo like ten pages long) but the general steps one has to take, what you have to write and what that what you have to write has to do, what language do you recommend (that I think I’m not capable of it doesn’t mean I don’t want to try).

EDIT:
So is my assumption that one would write some code in an arbitrary language that translates it into an already existent language and compile that to machine code?

PS I accidentally voted to reopen my own question, but I think it’s reasonable it’s closed, so how can I undo that?

  • 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-06-12T20:12:01+00:00Added an answer on June 12, 2026 at 8:12 pm

    Start by writing a specification and grammar that describe what your language does.

    Then, write a parser and compiler that turns your language into a simpler language, such as C or MSIL or Javascript.

    Finally, run an existing compiler for that language.

    You may want to look into LLVM.

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

Sidebar

Related Questions

How does one write a (Intel) F90 function that converts a string into lowercase
I am trying to write an Add-In to PowerPoint that does basically one thing:
Does anyone know how to write the following in a neater, one line format?
How can one write a PhoneGap plugin to access C/C++ library. I don't see
I'm working on a scripting language and would like to write a compiler /
Does anyone have experience working with language workbench tools such as Xtext, Spoofax, and
Does anyone have a really good example where there are two tables with a
When I use an imperative language I often write code like foo (x) {
I am currently doing some research in using PhoneGap instead of write different code
Does it make any difference in C99 when one writes const int x =

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.