Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
possible programming challenge: a smart(er) IDE?
#25
@MadSciJr

??? a MultiLanguage IDE/Translator....
but do you need to translate MID2CSV.C into QB64?
Stopping the joke.

Through vision of  Languages for programming machines

Level 0              Level  1           Level 2
Codebinary        Assembly        LowLevel Language  or
                                             Highlevel Language

Here some questions (those are point of thinking and not attacks to destroy your ideas!)

1. so we start from level2 and arrive at level2....Why do you like this kind of translator?

2. Each Language has its own compiler ... how much compilers do you want to use to get the executable of Level0?
In other words: who worked BASIC in DOS' Time, when he needed more performance got from other language's compilers (see C, TPascal, Masm or TASM) he LINKed the .obj file got from those compilers to .obj got with QB compiler and TADA it appeared the .EXE
In Windows I have no knowledge and experience to put together different codes in different languages to get one executable file.

3. Translation is an hard land, think about how many garbage comes out using Google Translator... also if in years it goes better.
In programming language field the translation is harder than in human languages. The syntax holds heavily on the way to develop the code.
So I don't believe that it is very feasible to get equivalent from a language to another.
Just an example:  
Code: (Select All)
For AA = 30 To -30 Step -10
    Select Case AA
        Case 1 To 19
            Print "CASE 1"
        Case Is > 20
            Print "CASE 2"
        Case Is > -10
            Print "CASE 3"
        Case Is < -10
            Print "CASE 4"
        Case Else
            Print "CASE 5"
    End Select
Next AA

how does it become in C? in Pascal? in Fortran? 
and in an OOP language? Java? Phyton? C++?

Or take a look at Rosetta Code website that collects  different solutions written in different programming languages for a specific task.
these are solution for printing on the screen a text message: "Hello World"
page of task Hello World of Rosetta Code website

Have a fun thinking about your ideas
Reply


Messages In This Thread
RE: possible programming challenge: a smart(er) IDE? - by TempodiBasic - 10-15-2022, 06:42 PM



Users browsing this thread: 3 Guest(s)