flat assembler
Message board for the users of flat assembler.

Index > Heap > Evolution of Computer Languages

Author
Thread Post new topic Reply to topic
0.1



Joined: 24 Jul 2007
Posts: 474
Location: India
0.1
Languages -- Few points that concern me.
* They invented mnemonics to ease the opcode remembrance Smile
* They invented C to make their programs run across different processors Sad Why they did not standardize the assembly itself Question
* Then they invented C++ to improve C Sad
* Then they invented Java so that programs run across OSs Sad Why they did not created a grand standard for C++ itself to allow it all the features (API, security etc.) on all OSs in a unified way Question

_________________
Code:
 o__=-
 )
(\
 /\  
    
Post 20 Aug 2007, 08:21
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
it wasn't that easy Smile
Study history of those languages more. There was seldom someone who could standardize anything, and too much standardization also isn't always best.
Post 20 Aug 2007, 08:33
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
0.1



Joined: 24 Jul 2007
Posts: 474
Location: India
0.1
I am waiting for more comments ...
Post 20 Aug 2007, 08:41
View user's profile Send private message Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 8885
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
i think .net framework intend to standardize everything
now u can have php like, perl like, tcl like code under .net.

problem is,
after all, a computer languages usually able to
- create variable, put/get value from it
- create function or sub for code grouping
- loop (for, while)
- if then else, else if (like switch/select case...)
wat else?
i think i posted a GREAT idea last time, lol (yeah, i self proclaimed it great)
a TAB computer language
which the compiler makes decision depend on how and where the user TAB on their code.
maybe like this
Code:
db:mybyte
dw:myword
  44
dl:mylong
 3456
        mybyte:245

          mybyte = 245
                        msgbox "true"
                             msgbox "false"

                myword < 50
                      debug.print myword
                  myword--
            <

    


yeah, i just invented this Razz
Post 20 Aug 2007, 13:01
View user's profile Send private message Reply with quote
TmX



Joined: 02 Mar 2006
Posts: 821
Location: Jakarta, Indonesia
TmX
sleepsleep wrote:

i think i posted a GREAT idea last time, lol (yeah, i self proclaimed it great)
a TAB computer language
which the compiler makes decision depend on how and where the user TAB on their code.


You mean Tab/whitespace-sensitive ?
Python already done that Laughing
Post 21 Aug 2007, 08:53
View user's profile Send private message Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 8885
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
i just take a look on the python Tab/whitespace sensitive u mentioned about, i think mine idea is not something alike that.

if you take a look on the sample code i provided above,
first level and 2nd level is for variable declaration, set / get values for variable
third level is for IF.. then.. ELSE, and WHILE, FOR loop
the WHILE, FOR loop will have a "<" at the end of their loop (to tell compiler it is a loop structure)
and IF.. THEN.. ELSE will use 4th level for TRUE statement and 5th level for FALSE statement.

this mean, if you put IF.. THEN.. ELSE in 1st or 2nd level, you will get compiler error.

several pros
- u don't have to type for, while, if and etc
- everybody will follow one standard on using programming statement, If, for, while etc (because they could only function when they are in the right level of TAB)
Post 21 Aug 2007, 19:17
View user's profile Send private message Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 8885
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
ok, i just thought one more "cool" idea Smile
how about image compiler.
so, there would be 2 compiler

1st will preprocess the source code and output a image file with dotted white and black (or maybe more color to show different state)
Image

so,
the 2nd compiler will based on that image and produce executable or dll or etc executable format,

wat u guys think?
Post 22 Aug 2007, 20:53
View user's profile Send private message Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3170
Location: Denmark
f0dder
sleepsleep: that sounds retarded Smile

You could load a .obj or .exe file as a RAW image anyway.
Post 22 Aug 2007, 21:32
View user's profile Send private message Visit poster's website Reply with quote
TmX



Joined: 02 Mar 2006
Posts: 821
Location: Jakarta, Indonesia
TmX
sleepsleep, maybe you'll be interested in this :
Quagmire Smile
Post 23 Aug 2007, 01:31
View user's profile Send private message Reply with quote
Yardman



Joined: 12 Apr 2005
Posts: 245
Location: US
Yardman
[ Post removed by author. ]


Last edited by Yardman on 04 Apr 2012, 02:49; edited 1 time in total
Post 23 Aug 2007, 05:15
View user's profile Send private message Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 8885
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
ha ha ha Wink
cool, somebody thought of that idea already. thanks guys
Post 23 Aug 2007, 08:44
View user's profile Send private message Reply with quote
0.1



Joined: 24 Jul 2007
Posts: 474
Location: India
0.1
I heard somewhere that Sanskrit is the best suited language for Computers!
For those of you who do not know about it: It is an ancient language of Indian origin.

_________________
Code:
 o__=-
 )
(\
 /\  
    
Post 23 Aug 2007, 09:14
View user's profile Send private message Reply with quote
MHajduk



Joined: 30 Mar 2006
Posts: 6034
Location: Poland
MHajduk
0.1
Could you explain why Sanskrit is the best language for computers? Smile Then we should use also Devanagari instead of Latin alphabet, isn't it? Wink
Post 23 Aug 2007, 10:35
View user's profile Send private message Visit poster's website Reply with quote
0.1



Joined: 24 Jul 2007
Posts: 474
Location: India
0.1
Sanskrit has a system which is very well suited for Computer like environments.
I do not have much knowledge about it though.
Post 23 Aug 2007, 13:11
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.