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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T16:38:25+00:00 2026-06-09T16:38:25+00:00

I was wondering, is it possible to define an API and give it as

  • 0

I was wondering, is it possible to define an API and give it as an input to a TM turing machine and the output will be the code in c or any other natural/programming language?

I guess not but how do I show it formally by reduction 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-06-09T16:38:26+00:00Added an answer on June 9, 2026 at 4:38 pm

    Your question seems to be asking if it is possible to write a program (in other words, a Turing Machine) that takes in a program specification (what you are calling an “API”) and outputs a program in some programming language. The answer to this is “of course”. Let’s look at a few examples.

    1. Let’s say I write my input specification as a C program and I want to output a program in C. I call this Turing Machine program “copy” and I can trivially implement it in any language (or use the cp command on the command line).

    2. Let’s say I write my input specification as a C program, and I want to output a program in assembly code. I call this Turing Machine program “compiler” and I can implement it in any language (or you can download a C compiler that already exists).

    3. Let’s say I write my input specification in English and I want to output a program in C. I call this Turing Machine program “software engineer” and I implement it in the brain of a human by sending that human to school (or you can hire an existing software engineer).

    The moral here is that a Turing Machine can do anything that a human can do (and a human can do anything a Turing Machine can do). But it’s really, really, really hard to write a computer program that is as general-purpose as a human.

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

Sidebar

Related Questions

I was wondering if its possible to use the Google maps IFRAME code to
I was wondering if it was possible to define a macro in C++ that
Hi I was wondering if anyone knows if it's possible to define a column
Just wondering if it is possible, by some loophole, to define a method name
I'm wondering is it possible somehow? sample code class CustomFilter { ... function FilterData($data,
I was wondering if it is possible to save C# code fragments to a
I was just wondering if it is possible to define the contents of a
I'm wondering if it's possible to define a foreign key in a models.py file
I was wondering ( if possible ) if there was a program/tool/utility that when
Just toying with the SDK and I was wondering if possible a UITouch event

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.