• The 'Basic' Challange #1: Programming Language!
    33 replies, posted
[B]Hey,[/B] Thought of this because I wanted to be evil, Here's the deal, What you need to do is create a functioning programming language in [B]visual basic[/B], it must have proper syntax and operators, extra-points for Functions and actually making it powerful, You can use any methods you like, but it must be written in visual basic. [B]The Rules[/B] - Must use Visual Basic - Cannot load DLL's that are not written in Visual Basic - Everything must be 100% Visual Basic Hopefully this will get some results, the person that makes the best language will be crowned the king of Basic. The Winner will receive some TF2 hats? [B]Good luck! You'll need it.[/B]
The OP will implement Haskell in Visual Basic to set an example. :v: Crappy jokes aside; Visual Basic? You're friggin evil.
aww, I thought it was going to be a challenge in BASIC.
Wait... [B][I]MAKE[/I] A PROGRAMMING LANGUAGE?!?!?!?![/B]
Write it in C#, compile, use ILSpy to convert to Visual Basic.
nigger why does it have to be visual basic
No DLLs? Aww. In that case, Mono!! [code] Declare Function lua_open Lib "lua51.so" () As IntPtr Declare Function luaL_dostring Lib "lua51.so" ( ByRef state As IntPtr, ByRef code As String ) As Integer ... Dim state As IntPtr = lua_open() luaL_dostring( state, "for k,v in pairs{\"Hi\", \"F\",\"acep\",\"unch\"} do print(k,v) end" ) [/code] Do I won yet
I'd like to relearn VB, but a programming language? Really?
[QUOTE=StarBot;43842709]Wait... [B][I]MAKE[/I] A PROGRAMMING LANGUAGE?!?!?!?![/B][/QUOTE] b-but, where did the first programming language that makes the other programming language that makes the software to make more programming language come from? WHERE
[QUOTE=SteelSliver;43843874]nigger why does it have to be visual basic[/QUOTE] that's the point [editline]9th February 2014[/editline] my fellow negro
[QUOTE=ScottyWired;43844079]b-but, where did the first programming language that makes the other programming language that makes the software to make more programming language come from? WHERE[/QUOTE] Who did made programming?
Can I use Visual Basic.NET, or does it have to be Visual Basic 6?
I see your visual basic and I raise you VISUAL BASIC SCRIPT!
this is almost as good as the programming collaboration thread haskell made [sp]that used html[/sp]
Done this, in VB6! [editline]blah[/editline] More than once :v: one was a scriptable graphing calculator, the other one was a lisp interpreter. [editline]10th February 2014[/editline] Can we change the language to specifically Visual Basic 6? I think that was the most pure version of the language, before any of this .NET mumbo jumbo came in.
Did you pick this from the same "how to fuck a dev" handybook you grabbed the last comp from?
[QUOTE=JohnnyOnFlame;43878620]Did you pick this from the same "how to fuck a dev" handybook you grabbed the last comp from?[/QUOTE] "how to fuck a dev"?
[QUOTE=supersnail11;43879449]"how to fuck a dev"?[/QUOTE] From behind?
[QUOTE=r0b0tsquid;43859267]Done this, in VB6! [editline]blah[/editline] More than once :v: one was a scriptable graphing calculator, the other one was a lisp interpreter. [editline]10th February 2014[/editline] Can we change the language to specifically Visual Basic 6? I think that was the most pure version of the language, before any of this .NET mumbo jumbo came in.[/QUOTE] Good idea, VB.net is just too easy.
[QUOTE=Vbits;43880395]Good idea, VB.net is just too easy.[/QUOTE] Use VBs
I barely remember all the shit about how to make a programming language in C#. Fuck dis shit I'm out. [img]http://thumb7.shutterstock.com/display_pic_with_logo/660385/97726949/stock-photo-i-give-up-office-worker-waving-with-white-paper-flag-97726949.jpg[/img]
[QUOTE=Medevila;43905123]1s and 0s[/QUOTE] But where did that come from :O
[QUOTE=AnonTakesOver;43906768]But where did that come from :O[/QUOTE] The way computers work. 1 = Power 0 = No power
[QUOTE=Mega1mpact;43907244]The way computers work. 1 = Power 0 = No power[/QUOTE] Yes I know that, but I mean, I don't get how a sequence of on's and off's could make Call of Duty, Battlefield, Halo, Websites, internet
[QUOTE=AnonTakesOver;43907948]Yes I know that, but I mean, I don't get how a sequence of on's and off's could make Call of Duty, Battlefield, Halo, Websites, internet[/QUOTE] These's 1's and 0's represent numbers/adresses/opperations, the processor uses this info to add/devide/multiply/etc, and then stores these values in ram/memory/hd. Then after that we add a screen, and we can be like "Make the pixel located at (133, 501) green" And then we basically worked from there.
[QUOTE=AnonTakesOver;43907948]Yes I know that, but I mean, I don't get how a sequence of on's and off's could make Call of Duty, Battlefield, Halo, Websites, internet[/QUOTE] [url=http://cs.geneseo.edu/~baldwin/reference/information.html]Binary representation of information[/url] Everyone needs to agree on what a specific sequence of ones and zeroes means, so your graphics card and your monitor might agree that 111111110000000000000000 means a bright red pixel when received in the correct context. The rest of it is just how you design your models and formats, so Call of Duty is a bunch of binary data representing locations of vertices in models, colours at certain points, which gets transformed according to a set of rules and your input. Another part of the program and ultimately part of your graphics card transforms that into a grid of numbers which forms a 2D image when interpreted correctly by the monitor, which your brain interprets as a 3D image. It's all about the abstractions!
[QUOTE=AnonTakesOver;43907948]Yes I know that, but I mean, I don't get how a sequence of on's and off's could make Call of Duty, Battlefield, Halo, Websites, internet[/QUOTE] Machine code. Today, most 32-bit computers use the x86 instruction set (64-bit computers might use x86_64/amd64). This is an instruction set originally used on the Intel 8086 CPU. Basically, it defines that a certain string of bits followed by another string of bits means a specific instruction. For instance, the byte 0x88 (10001000) followed by two bytes means "Move the byte at this address (first byte) to the location at this address (second byte)." The first compiler was probably an assembly compiler, written in raw machine code. From there, people wrote compilers for other languages in Assembly, and so on.
[QUOTE=AnonTakesOver;43907948]Yes I know that, but I mean, I don't get how a sequence of on's and off's could make Call of Duty, Battlefield, Halo, Websites, internet[/QUOTE] people who were smart made it happen and thats all thats important
We should make a challenge to make a game in Malbolge
[QUOTE=cloudcakes30;43935329]We should make a challenge to make a game in Malbolge[/QUOTE] Considering it took 7 years for someone to write "99 Bottles of Beer" in Malbolge, I think we'd be here a while.
Sorry, you need to Log In to post a reply to this thread.