Qbasicnews.com
November 13, 2019, 09:53:44 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Back to Qbasicnews.com | QB Online Help | FAQ | Chat | All Basic Code | QB Knowledge Base
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: New Language?  (Read 8842 times)
zwillis091
New Member

Posts: 6


« on: July 07, 2006, 03:19:37 AM »

Can someone compe up with with a new programming language, unlike one that has ever been made before? Not in qbasic though. Not using runtime or libraries. Make one with assembly , make one that takes each action in the programming language and translates it to assembley when it compiles it. Only, one that can be run on 32 bit windows, or just off of boot on a floppy of cd (if the perticular program is designed for that use). I am not in this challenge.  It's something I just want to see if it can be done.
Logged

ne man's trash is another man's treasure" To some people old 386 computers, and thier slow techonology is useless, too me, it's just something else to tinker with.
voodooattack
New Member

Posts: 5



WWW
« Reply #1 on: July 07, 2006, 04:18:02 AM »

http://www.freebasic.net  :roll:  :winkwink:
Logged

url=http://voodooattack.deviantart.com][/url]
Live as if you live forever, pray as if you d.i.e tomorrow..
Come Into My World
Anonymous
Guest
« Reply #2 on: July 07, 2006, 04:50:10 AM »

haha yeah, if you compile a program with -r, you can see the asm output.

FB code:

Code:
Print "Hello world! I can count to 10, watch!"
Print
For a = 1 To 10
  Print a
 
Next
Print
Print "See? I'm a genius!"



Outputted ASM:

Code:
.intel_syntax noprefix

#fbdemo.bas' compilation started at 02:47:25 (FreeBASIC v0.17b)

.section .text
.balign 16

.globl _main
_main:
push ebp
mov ebp, esp
and esp, 0xFFFFFFF0
sub esp, 8
mov dword ptr [ebp-4], 0
mov dword ptr [ebp-8], 0
call ___main
push dword ptr [ebp+12]
push dword ptr [ebp+8]
call _fb_Init@8
.Lt_0001:
push 1
push 38
push offset _Lt_0003
call _fb_StrAllocTempDescZEx@8
push eax
push 0
call _fb_PrintString@12
push 1
push 0
call _fb_PrintVoid@8
mov dword ptr [ebp-8], 1
.Lt_0007:
push 1
push dword ptr [ebp-8]
push 0
call _fb_PrintInt@12
.Lt_0005:
inc dword ptr [ebp-8]
.Lt_0004:
cmp dword ptr [ebp-8], 10
jle .Lt_0007
.Lt_0006:
push 1
push 0
call _fb_PrintVoid@8
push 1
push 18
push offset _Lt_0008
call _fb_StrAllocTempDescZEx@8
push eax
push 0
call _fb_PrintString@12
.Lt_0002:
push 0
call _fb_End@4
mov eax, dword ptr [ebp-4]
mov esp, ebp
pop ebp
ret
#fbdemo.bas' compilation took 1.906669568469965e-003 secs

.section .data
.balign 4
_Lt_0003: .ascii "Hello world! I can count to 10, watch!\0"
.balign 4
_Lt_0008: .ascii "See? I'm a genius!\0"
Logged
na_th_an
*/-\*
*****
Posts: 8244



WWW
« Reply #3 on: July 07, 2006, 06:36:47 AM »

Want a wicked programming language? Check Shakespeare Programming Language:

http://shakespearelang.sourceforge.net/report/shakespeare/shakespeare.html
Logged

SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Deleter
Na_th_an
*****
Posts: 1292



WWW
« Reply #4 on: July 07, 2006, 07:25:39 AM »

Shocked
Logged

na_th_an
*/-\*
*****
Posts: 8244



WWW
« Reply #5 on: July 07, 2006, 08:15:37 AM »

It's not the weirdest, but it's rather funny :lol:
Logged

SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
TheAdventMaster
Ancient Guru
****
Posts: 671


« Reply #6 on: July 07, 2006, 11:28:51 AM »

Holy OMG that's crazy.
Logged
Anonymous
Guest
« Reply #7 on: July 07, 2006, 03:56:53 PM »

HAHA I love it!
Logged
Zap
Been there, done that
*****
Posts: 1124


« Reply #8 on: July 07, 2006, 04:43:24 PM »

Made by Swedes ofcourse  :roll:








 :b
Logged

url=http://www.copy-pasta.com]CopyPasta[/url] - FilePasta
Dr_Davenstein
Na_th_an
*****
Posts: 2052


« Reply #9 on: July 28, 2006, 03:31:43 AM »

I remember staring at that before, and feeling like an idiot because I didn't get the joke.  I thought they were just trying to make it as hard as possible to hack. :lol:
Logged
torstum
Member
*
Posts: 62


« Reply #10 on: July 30, 2006, 03:00:38 PM »

There's a language called FORTH that can recompile itself, boot from a disk, is a full-fleged OS, etc...

 You can redefine almost the whole language, AFAIK.
Logged
Skyler
Ancient Guru
****
Posts: 564



« Reply #11 on: August 13, 2006, 10:48:15 PM »

I saw a wierd language at www.thefreecountry.com in which the entire vocabulary was swear words.
Logged

In the beginning, there is darkness the emptiness of a matrix waiting for the light. Then a single photon flares into existence. Then another. Soon, thousands more. Optronic pathways connect, subroutines emerge from the chaos, and a holographic consciousness is born." -The Doctor
thegrogen
Ancient QBer
****
Posts: 444



« Reply #12 on: August 20, 2006, 12:47:59 AM »

Brainf*ck is pretty weird.
Logged

.14159265358979323846264338327950288419716939937510582709445
Glarplesnarkleflibbertygibbertygarbethparkentalelelangathaffendoinkadonkeydingdonkaspamahedron.
Blitz
I hold this place together
*****
Posts: 853



WWW
« Reply #13 on: December 05, 2006, 12:32:02 PM »

Try prolog, nothing like it.
Haskell is also a cool language once you know it.
Logged

oship me and i will give you lots of guurrls and beeea
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!