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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T08:01:39+00:00 2026-05-15T08:01:39+00:00

While searching I came across this . It looks interesting but I have absolutely

  • 0

While searching I came across this. It looks interesting but I have absolutely no idea of what it’s for. I like it because you can compile to php, a language I don’t enjoy a lot that’s really useful. This could be a way I can use php without touching it. The language is odd looking, is there anyone out there who has tried it?

Thanks

  • 1 1 Answer
  • 2 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-15T08:01:39+00:00Added an answer on May 15, 2026 at 8:01 am

    The first thing I see is that the last development change to the project was in 2007 (maybe 2008, can’t tell what those side projects are), so it’s out of date. Scriptol’s compilers seems to take the Scriptol code you wrote and compile it in an executable file for that language.

    I tried solp.exe out (the PHP compiler) with the Fibonacci example on the website. Here is the Scriptol fib.sol file:

     int fibmax = 20
    
    int fibonacci(int n)
        int u = 0
        int v = 1
        int t
        for int i in 2 .. n
            t = u + v
            u = v
            v = t
        /for
    return v
    
    for int x in 1..fibmax echo "fib(" , x , ") ", fibonacci(x), "\n" 
    

    Here is the fib.php file it created:

    <?php
    $fibmax=20;
    function fibonacci($n)
    {
       $u=0;
       $v=1;
       $t=0;
       for($i=2;$i<=$n;$i++)
       {
          $t=$u+$v;
          $u=$v;
          $v=$t;
       }
       return $v;
    }
    
    for($x=1;$x<=$fibmax;$x++)
    {
       echo "fib(",$x,") ",fibonacci($x),"\n";
    }
    
    ?>
    

    It doesn’t interface with your web server, so you must compile the scripts — in PHP’s case, instead of compiling to a .exe file, it’s compiling to a .php file for your web server to execute. C++ and, had they finished it, .NET would compile to .exe’s. (I did test the C++ compiler, but as I don’t have a real C++ compiler on my PC, it just created fib.cpp.)

    It’s an interesting idea, I think: Create a generic language that has compilers to turn it into another language. I don’t know of any languages that have successfully done that. I think it would be more prudent to just learn the language you are compiling to, but the idea that you could compile to multiple languages is cool. Unfortunately it looks like Scriptol hasn’t been touched in years.

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

Sidebar

Related Questions

While searching for regular expressions used for email address validation, i came across this
I was searching for a BinaryReader.Skip function, while I came across this feature request
I came across this simple PHP Class on GitHub while searching for Bloom Filters,
I'm searching a while for this and I can't found something that works for
While searching for an implementation of the Barnsley's Fern fractal I came across a
I came across this method browsing the web searching for recursive methods. Believe me,
While searching for difference between HTML4 and HTML5 I came across the point that
i came across an interview question which asks while searching a value in an
While searching for a unix problem, I came across the following string splitting regular
While searching the web, I found this code: $apprequest_url =https://graph.facebook.com/ . /apprequests?ids=USERID_1,USERID_2,USERID_3 . &message='INSERT_UT8_STRING_MSG'

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.