[code]
char unimportant(space)
{
Hear "Goodbye Space";
}
[/code]
It does the opposite.
snipped because i fail so epicly
Simplified version:
[CODE]
{$main
(say("lol fag\n"))
}
[/CODE]
It will be like Pascal because in one library you get like a bazillion functions.
It will be like C because it's supposed to be fast and has some low-level features (Memory navigators, stay tuned)
some web coding language... kind of like python's syntax
[code]
import db
db.create :
id.primary.int(11),
name.varchar(10),
dob.datetime
db.execute
Table = db.table('users')
Table.prepare :
name = 'Foo',
dob = CURRENT_TIMESTAMP
db.execute
while Results = Table.fetch :
print Results.id + ': ' + Results.name
[/code]
[code]
#include <ios>
main()
{
ios::string hw = "Hello world";
ios::print << "Hello world!\n";
ios::print << hw;
return end;
}
[/code]
r8 me dumb
edit:
i said dumb not rainbow
[QUOTE=Eudoxia;16838691]This is simple: Write a simple app (Hello World, or something similar) in a fake programming language, invented by, of course; You.
Suggestions and ideas appreciated.
This is my entry:
[CODE]
/*
* This program is an example of the ARTIC programming language
*
* ARTIC is a fake language I came up with. It is an interpreted, imperative, dynamic typed, and [meaby in the future]
* object-oriented language for applications.
*
* This language was influenced by languages like C, C++ and Lisp. The fully parenthesized syntax is from Lisp, the structure
*from C and C++, and other aspects come from a myriad of other languages.
*
* -Alex Rosslyn, Friday 21, August 2009.
*
*
*/
/include (stdio) /*Preprocessor line: Inclues the "standard input/output" file*/
/*I'm a comment LOL*/
/*Group VAR, includes variables*/
{$var
{$string /*Subgroup "string". Contains all string variables. (The name cannot be changed)*/
(name) /*Creates a string variable calledd "name". Empty*/
}
{$int /*Subgroup "int". Contains integer variables. (Also, name cannot be changed)*/
(Time=5000) /*Creates an integer variable called "Time" (Case sensitive). Value= 5000*/
}
} /*Group ends*/
/*Group main. The program starts here (For C and C++ programmers, this is your main loop*/
{$main
(print("Hey guys LOL.\n")) /*Prints the following: Hey guys LOL. Also adds a newline (\n)*/
(get.cin) /*Gets input. any input. Basically the program is paused until you press any key. (For C and C++ programmers, this is "cin.get;"*/
(get("What's your name? %s", name)) /*The program writes "What's your name? " on the screen, and allows the user to enter input. Said input is stored in the "name" string variable*/
(wait(Time)) /*Waits for some time. Usually, the syntax would be "(wait(X))" where X is the number of milliseconds. Instead, the compiler takes the value from a variable*/
}
[/CODE]
The language is basically C and Lisp together.
It can be written as a single line, for example:
[CODE]
{$main (print("Hey guys LOL.\n"))(get.cin)(get("What's your name? %s", name))(wait(Time))}
[/CODE]
In C++, that would be:
[CODE]
cout << "Hey guys LOL.\n"; cin.get; cout << "What's your name? "; cin >> name; Sleep(5000);
[/CODE][/QUOTE]
so why not just use typedef?
(sorry for any typos in the code i havent programmed for a while)
codezorz:
{
#include ,iostream.h.
typedef int FUCK
FUCK main()
FUCK lol=11
cout<<lol<<"lawlalalala/n";
return 0 ;
}
wtf why am i rated dumb?
[QUOTE=ioc;17001429][code]
myGame = new VideoGame("call of gears of halo");
myGame.copyElements("halo");
myGame.copyElements("gears of war");
myGame.copyElements("call of duty 4");
myGame.enemies = {"terrorists", "aliens"};
myGame.bestGraphicsEver = hell yeh;
myGame.add("huge ass bazooka machine gun laser rifle that kills everything");
myGame.console = "xbox"; // teh ps3 sucks it has no games
[/code][/QUOTE]\
char rate
rate=dumbzorz
sexbox sucks
no good hardware , 50% chance of getting red rings of death AND U PAY FOR THE MULTIPLAYER OMG
[QUOTE=Ye_Olde_Snake;17446586]\
char rate
rate=dumbzorz
sexbox sucks
no good hardware , 50% chance of getting red rings of death AND U PAY FOR THE MULTIPLAYER OMG[/QUOTE]
[code]FP.UserActions.Rate("Ye_Olde_Snake", Ratings.Dumb);[/code]
[code]{
Print "Hello, World!"
Print ""
Int number
number = 1
output = number * 2
Print output
Print ""
Print "End of Program!"
{
Int scopeint [comment in square brackets]
[scopeint will be destroyed at the end of the scope]
}
Loop Int i{
Print i
i = i + 1
} Until i = 10
}[/code]
[QUOTE=SupahVee;17446779][code]FP.UserActions.Rate("Ye_Olde_Snake", Ratings.Dumb);[/code][/QUOTE]
okay 'nuff with programming xbox sucks and i didnt know the code to rate :)
[code]Do this for me pl0x. I don't care how.
<Hack into missile silo and launch US nukes at Ahmadinejad>
Thanks Bro.
[/code]
[quote=irzilla;17553684][code]
dxrender{
drawmapfile mymap.bsp;
checkcollisions;
domultiplayershit;
}
[/code]
game in 4 lines.[/quote]
can
YOU
PLEASE
GET
THE
FUCK
OUT
[QUOTE=iRzilla;17553684]D: this place is harsh.[/QUOTE]
[code]
for all comments on post{
if comment.harshness > limit
delete post
}
[/code]
[QUOTE=iRzilla;17553684]D: this place is harsh.[/QUOTE]
'cause the joke's been done to death
This thread reminds me of "LOLCODE".
Believe it or not, there's several compilers for it.
hello
[code]
this.starWars();
[/code]
It prints out everything you could ever need. Not only can it read your mind, but it can also print out the entire Starwars bi-trilogy in HD resolution with surround sound. Only if you really needed it of course.
[b]Only read this if you are bored.[/b]
It originally came about when a friend of mine took "introduction to programming", where he learned to program with "Karl" the robot in some horrible java program. Everything was handled with "this." statements and my friend was horrible at coding. He would forget every method, so eventually he would just transpose them with "this.starWars();", with the explanation of "it's the best command! It should work, but it won't compile for me. I guess java just isn't advanced enough to realize it's true power yet". So ever since then we would always use it on tests if we for some reason couldn't remember a certain method. It's like an inside joke between five people, and i've just wasted your time with an explanation that you never needed to read in the first place. :}
[QUOTE=iRzilla;17553684]D: this place is harsh.[/QUOTE]
Hi, welcome to the Programming Section.
[code]
/begin
./start.text
.size=10
.colr=050-160-200-030
.time=40ms
./end.text
/end[/code]
Some kind of advanced BBcode or some shit. The first . tells the start.text what to read, and can be changed to anything IE
[code]
/begin
a/start.text
[/code]
Would cause start.text to read only lines that began with a, although this would be unwise because a is a letter in words. Also, the actual start.text is a compound command, made up of two seperate ones. start and text, and you can have up to 5 commands in one compound command. Each extra command could also add a variable. So:
[code]
/begin
./start.text.flash.scroll
.size=10
.colr=050-160-200-030
.time=40s
.flsh=30ms
.flshdur=10ms
.scrlldur=40s
./end.text.flash.scroll
/end[/code]
Would add the variables Flash, Flash Duration and Scroll Duration.
[code]
OHHAITHAR;
say ""Hello, World!"";
KTHANXBAI;
[/code]
[code]
--riverrun, past Eve and Adam’s, from swerve of shore to bend of bay, brings us by a commodius vicus of recirculation back to Howth Castle and Environs.
Stately, plump Buck Mulligan came from the stairhead, bearing a bowl named OUTPUT on which a "Hello World" lay crossed.
He held the bowl aloft and intoned: OUTPUT
A way a lone a last a loved a long the--
[/code]
[code]
Create, Window, cmd1
Display, "Hello World"
Display, "So I'm going to ask you your name:"
>>1
Display, "What's your name"
Ask, String, string1
Display, "Your name is " & string1 & ", right?"
Ask, Boolean, boolean1
If, (boolean == 1), (Display, "Okay, I will be going now.")
Else, ->1
Wait, 5000
Close, Window, cmd1
[/code]
[QUOTE=g1real;17653562][code]
Create, Window, cmd1
Display, "Hello World"
Display, "So I'm going to ask you your name:"
>>1
Display, "What's your name"
Ask, String, string1
Display, "Your name is " & string1 & ", right?"
Ask, Boolean, boolean1
If, (boolean == 1), (Display, "Okay, I will be going now.")
Else, ->1
Wait, 5000
Close, Window, cmd1
[/code][/QUOTE]
Error: Attempt to compare null value on line 9
[code]
like get all the stuff that is, like, needed?
when like the user guy presses the big button
do stuff below
say like hello to the world
do stuff above
like stop
[/code]
Cheerleader-proof language. Oh the software that would come from it.
[code]fucking start
if someone presses the button break their fucking neck
and say
hello world
fuck yeah
face[/code]
Sorry, you need to Log In to post a reply to this thread.