[QUOTE='-[ Fizzadar ]-;16842398'][code]
print 'Hello World';
[/code]
Simplicity is key.[/QUOTE]
[code]
print 'Hello World'
[/code]
Even simpler, based on line breaks rather than semicolon line endings
[code]
Hello, World
[/code]
The interpreter is called cat
My fake programming language:
[code]hi
make me a cool game with zombiez and sohtguns and carrs and gorden freemon and plot twests and good graphiscs and mutliplayer plzzzz ill give u credtis!!!
bye[/code]
[QUOTE=Dryvnt;18560456]My fake programming language:
[code]hi
make me a cool game with zombiez and sohtguns and carrs and gorden freemon and plot twests and good graphiscs and mutliplayer plzzzz ill give u credtis!!!
bye[/code][/QUOTE]
Original joke.
Heres one language I am actually working on called Seef. Here is some example code:
[code]
; Hello World
0 out Hello, World!
[/code]
[code]
100 out GOTO ONE
101 goto #sysLastIndex
200 out GOTO TWO
201 goto #sysLastIndex
0 goto 100
1 goto 200
[/code]
The above code works because the interpreter starts at 0 and then adds 1 each time, so you declare things to jump to where you like and then start your main code at 0.
Can this thread be locked already? There is nothing serious in this thread and the retarded language thing has gone on long enough.
[code]Exec Lang-EasyScript--+EnglishLoaded
CodeL1:CreateGame+Name Facepunch
CodeL2:exec+Moderation:Garry.Epic
CodeL3:Hezzy.LessVEpic
CodeL4:UserVname.AllVForums
CodeL5:UserVname.ForumVname
CodeL6:exec+OIFY
CodeL7:exec+
CodeL8:exec Ratings
CodeL9:LocateFacepunchImage:DogsAss
CodeL10:exec FacepalmBanning
Facepunch Has Loaded
You may now ban everyone
You may now unban everyone
You may now give everyone admin[/code]
[QUOTE=high;18571086]Can this thread be locked already? There is nothing serious in this thread and the retarded language thing has gone on long enough.[/QUOTE]
If you actually read the thread then their is alot of good posts buried under the waves of "makez me gamez plz".
Colon, just a random language
[code]
Main:Variable:String(Hello)
Main:Function:String:Variable(Hello):To_Number:Output(8,5,12,12,15)
[/code]
[code]User Input String
Mat Write :Hello World:]
[/code]
I call it englishV2. Object/function/variable names are Capitalized.
[code]
Include header textstream.
Start function Main with input InText:
Set the Standard Output's Text Color to white.
Print InText to Standard Output.
End function Main~
Start function Add with inputs First Number and Second Number:
Return the First Number plus the Second Number.
End function Add~
Start function Count To Ten:
Set Counter to 1.
Do the following until Counter exceeds 10:
Print the value of Counter to the Standard Output.
Add 1 to Counter and repeat~
End function Count To Ten.
//Small program, example
Include header textstream.
Start function Main:
Do the following until I say to stop:
Print to the Standard Output "Hey, do you like english 2.0?".
Tell Standard Input to Get User Input and store it in Input.
If the Input is "Yes":
Print to the Standard Output "I like you kid.".
You can stop.
If the Input is "No":
Print to the Standard Output "Screw you.".
You can stop.
If none of those:
Print to Standard Output "Please answer Yes or No".
Regardless, Tell the Standard Output to Clear itself.
Repeat~
End function Main~
[/code]
Engrish rokz.
[QUOTE=iPope;18563373]Original joke.
Heres one language I am actually working on called Seef. Here is some example code:
[code]
; Hello World
0 out Hello, World!
[/code]
[code]
100 out GOTO ONE
101 goto #sysLastIndex
200 out GOTO TWO
201 goto #sysLastIndex
0 goto 100
1 goto 200
[/code]
The above code works because the interpreter starts at 0 and then adds 1 each time, so you declare things to jump to where you like and then start your main code at 0.[/QUOTE]
That's basically just ASM.
[QUOTE=shill le 2nd;18652825]That's basically just ASM.[/QUOTE]
Somewhat but not really.
[QUOTE=shill le 2nd;18652825]That's basically just ASM.[/QUOTE]
no.
You've never used ASM have you?
It's stack based. Which is different from a register based instruction set.
[QUOTE=turby;18694874]no.
You've never used ASM have you?[/QUOTE]
If I've never used ASM, how would I know that it looks like ASM? :downs:
[QUOTE=shill le 2nd;18697947]If I've never used ASM, how would I know that it looks like ASM? :downs:[/QUOTE]
compare:
[code]
; printf1.asm print an integer from storage and from a register
; Assemble: nasm -f elf -l printf.lst printf1.asm
; Link: gcc -o printf1 printf1.o
; Run: printf1
; Output: a=5, eax=7
; Equivalent C code
; /* printf1.c print an int and an expression */
; #include
; int main()
; {
; int a=5;
; printf("a=%d, eax=%d\n", a, a+2);
; return 0;
; }
; Declare some external functions
;
extern printf ; the C function, to be called
SECTION .data ; Data section, initialized variables
a: dd 5 ; int a=5;
fmt: db "a=%d, eax=%d", 10, 0 ; The printf format, "\n",'0'
SECTION .text ; Code section.
global main ; the standard gcc entry point
main: ; the program label for the entry point
push ebp ; set up stack frame
mov ebp,esp
mov eax, [a] ; put a from store into register
add eax, 2 ; a+2
push eax ; value of a+2
push dword [a] ; value of variable a
push dword fmt ; address of ctrl string
call printf ; Call C function
add esp, 12 ; pop stack 3 push times 4 bytes
mov esp, ebp ; takedown stack frame
pop ebp ; same as "leave" op
mov eax,0 ; normal, no error, return value
ret ; return
[/code]
to
[code]
0 out Hello, World!
[/code]
Syntax wise.
[QUOTE=shill le 2nd;18697947]If I've never used ASM, how would I know that it looks like ASM? :downs:[/QUOTE]
If you've never used ASM, what makes you think you have a right to say it looks like ASM?
If you have used ASM, you should know much better than to say it looks like ASM.
jmp != asm
I think it would be cool to have a programming language designed to look like overly polite English.
[Code]
Hello, sir.
First I would like "Hello, world!" to appear on the screen, please.
And then create a new line, please.
And then I would like "Goodbye, cruel world!" to appear on the screen, please.
Thank you for your time.
[/Code]
It would never be stressful to work through any problem if my code were this nice to me. And it would make developers better people to run into compile errors due to forgetting to say 'please'.
Heres my dream Programming language!
[code]
Sup dude
display :Hello World:
new number thenumber
thenumber = 1337
display thenumber
:(This is a comment):
Cya dude
[/code]
Output would be
[code]Hello World
1337[/code]
[code]Hello World[/code]
:eng101:
[editline]09:26PM[/editline]
Or [code]Calculator[/code]
Or even [code]The best game of all time. OF ALL TIME[/code]
saytext = "Hello world"
programm
{
echo(saytext);
}
[code]
openfridge{
Variable1 = grabfood("Hello thar! I'm gonna multiply stuff.")
eatfood(Variable1)
Variable2 = buyfood("Give me a number: ")
Variable3 = buyfood("Give me a second number: ")
Variable4 = grabfood("I will divide those.")
eatfood(Variable4)
Result = chop(Variable2,Variable3)
eatfood("The result is "+Result+".")
}closefridge
[/code]
It's based on the fact that I'm hungry right now.
[code]onStartup{
relay:Welcome!
relay:Loading...
run: StartDisk;
onStartDisk:
run "Steam.exe"
run "LimeWire.exe"
run "Fraps.exe";
ifFinished(load=done):
goto "DESKTOP"}[/code]
The only programming I've ever done is Actionscript.
[code]Someone clicked the first button
Create a thing:
It's a message box, it's also the first thing.
Put the following text in the first thing:
Hello :P
Now show the first thing to however clicked the first button.
The end.[/code]
OR
[code]Someone clicked the first button!
Create a thing: It's a message box, it's also the first thing.
Put the following text in the first thing: Hello :P
Now show the first thing to however clicked the first button.
The end.[/code]
-snip-
Begin
End
Print "Hello World"
End
End
Begin
If X = 2 THEN
Begin
what?
#program "start"
#make "hello world" come up on the "screen"
#keep it up there for "5" "seconds"
its just SO SIMPLE
[code]
--Loosely based on what I remember from when I could program in Lua.
function output(phrase)
print(phrase)
end
while true do
output("Hello World!")
wait(1)
end
--That may actually be valid I have no idea. It's supposed to print hello world every second.
[/code]
meh forget it
-snip-
Sorry, you need to Log In to post a reply to this thread.