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

  • Home
  • SEARCH
  • 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 322019
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T08:53:57+00:00 2026-05-12T08:53:57+00:00

Just as a personal experiment, in order to try to learn better about programming

  • 0

Just as a personal experiment, in order to try to learn better about programming and formal language theory and the like, I’m trying to write a language that basically takes in a bunch of equations and solves for unknowns more or less automatically or heuristically. I’m trying to do this by writing an interpreter in C.

All that’s not super-relevant, though… more importantly, I’ve discovered functional programming in the last few days (by which I mean I read Wikipedia’s entry for it and a brief Haskell tutorial) and it seems to deal with very similar things to what I want to do.

I guess what I’m wondering is, are there any other languages I should look into, or any non-functional languages that have libraries or programs that try to do similar things, such that I might gain a better understanding of what I’m setting out to do?

Also, are there any good references out there for writing interpreters, etc.?

Thanks.

P.S. Oh, and I’m aware I could and should use Google. I am, on the side. More than anything I’m looking for a collective of “second opinions” for what’s good, and what people have used before. Also, I’m trying to get to know the community a little better, since I’m new here. Thanks for your patience 🙂

  • 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-12T08:53:57+00:00Added an answer on May 12, 2026 at 8:53 am

    Disclaimer: I did not seriously explore this field, but hope this small write-up might be useful to you – and awaiting to see more answers from the others.

    I think there are multiple questions in one:

    1) Equation solvers.

    if you mean “solving for unknowns” symbolically – it’s a pretty big pile of work that you are about to get started with, IMHO 🙂 You’re about to embark on creating a computer algebra system.

    Term rewriting is a rather big topic on its own. If you are specifically interested in the manipulations at this level, C might be not the easiest to work with – you’d probably be more at ease with Lisp for that task.

    Notably, not every set of equations is going to have a solution – and “just” figuring out the fact whether it does have a solution or not is a tough task on its own.

    On the other hand, if you look up to solving the equations numerically, something like this might be interesting to look at.

    2) Functional programming in general.

    Haskell is a great language for that (although I am still a very beginner in it – I think it might be one of the most elegant ones). OCaml might be another path to explore. Then, of course, there is Scheme. A language with immediate practical implications could be XSLT if you are dealing with web programming.

    And of course you can easily write functional style in Ruby and Python. It is very interesting to observe how learning the new languages changes your programming patterns in “main” language overall. So, language theory or not – the more languages you touch, the better.

    3) Writing the interpreters, etc.

    I suspect that given the flavour of the question, the most interesting practical application for what you would like to do would be not the interpreter, but the optimization code in the compiler. For that – Dragon book and MIT computer language engineering course would be useful in my opinion to start with. Then you could grab e.g. a copy of TCC and play with it. If you want to tinker with something less conventional, take a look at potion – a very interesting language experiment that has x86 machine code as its “bytecode” (hence the performance on x86 machines is pretty spectacular).

    This question on SO actually references most of the of the links from (3) above, and quite a few more.

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

Sidebar

Ask A Question

Stats

  • Questions 218k
  • Answers 218k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Use bracket notation instead. var name = otherObject.name; var o… May 12, 2026 at 11:40 pm
  • Editorial Team
    Editorial Team added an answer I am writing WinForms application. User fills the textbox and… May 12, 2026 at 11:40 pm
  • Editorial Team
    Editorial Team added an answer This is the exact reason why you normalize your tables.… May 12, 2026 at 11:40 pm

Related Questions

I'd like to set up a cheap Linux box as a web server to
I'm doing a short project just to experiment writing without the use of nib
I have a command-line utility that gets quite a bit of downloads from my
Good night :) I am currently playing with the DevIL library that allows me

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.