BIPL - Basic Internal Programming Language

My new free programming language.

  • (11 Pages)
  • +
  • 1
  • 2
  • 3
  • Last »

163 Replies - 5471 Views - Last Post: 19 September 2009 - 09:55 AM

#1 Dr.Code  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 55
  • Joined: 27-August 09

BIPL - Basic Internal Programming Language

Post icon  Posted 27 August 2009 - 05:05 PM

Hello, I am new to these forums. Also to tell you I am the manager of MountSoft. People are trying to steal our company name, so this is the real one. I am kind of an expert at programming, but I sometimes can't even remember the simlest things. Off Topic. I am a programmer of Visual C# 2008, which is pretty easy. I have gotton bored of it and wondered,"Maybe I could make my programming language". So I researched many books like,"Programming Language Structure for Dummies", it was kind of dum, but I got the hang of it. I researched more stuff. It was kind of boring, but worth it. I started the project, and failed 100 times in one day(literaly). As they say, Thomas Edison failed 300 times to get a light bulb to work. I am trying to accomplish a goal to make the easiest programming language ever, but I may fail. Soon, I actuallu ruined my computer trying to do it. I lost all of my work and got angry. BUT IT WASN'T END, IT WAS ACTUALLY THE BEGINNING. When I was sleeping, I actually dreamed the code to making a programming language. The next day, I started programming everything and suprisingly IT WORKED, but now I am still making it. It is really simple, but not very powerful yet.
Heres a simple code that it so far can do:
var x;
speak "Hello, World";
use_obj x;



I hope it looks easy. I couldn't think of any others. I called the language BIPL, Basic Internal Programming Language
(hope you like the name)

It is still under construction. I don't care about the IDE right now, so it won't take long. Reply about suggustions or questions. :D

This post has been edited by Dr.Code: 28 August 2009 - 10:15 AM


Is This A Good Question/Topic? 0
  • +

Replies To: BIPL - Basic Internal Programming Language

#2 Dr.Code  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 55
  • Joined: 27-August 09

Re: BIPL - Basic Internal Programming Language

Posted 27 August 2009 - 07:30 PM

Heres an advanced example of this programming language:
var a = 0; 
say "How old are you ?"; 
use_obj x; 

var b = 0; 
For b = 0 Until a Do 
say a; 
end; 

var c = 0; 
say "And thats the for loop !"; 
use_obj c; 



We added more, The first beta will be coming soon.
Was This Post Helpful? 0
  • +
  • -

#3 SixOfEleven  Icon User is offline

  • using Caffeine;
  • member icon

Reputation: 945
  • View blog
  • Posts: 6,342
  • Joined: 18-October 08

Re: BIPL - Basic Internal Programming Language

Posted 27 August 2009 - 07:37 PM

While this is a C# program, I believe it is more about sharing your project. I think I'll move this to the Share Your Project forum.
Was This Post Helpful? 0
  • +
  • -

#4 ForcedSterilizationsForAll  Icon User is offline

  • D.I.C Addict

Reputation: 33
  • View blog
  • Posts: 506
  • Joined: 16-July 09

Re: BIPL - Basic Internal Programming Language

Posted 28 August 2009 - 08:17 AM

What's the difference between
speak "Hello World";


and
say "hello world";



what do parse_obj and use_obj do? The parse_obj x... is x a variable? It doesn't look like it's defined. Please explain more on what each thing in your example does. How do I define a string, double, integer, date, time, etc. in your language?
Was This Post Helpful? 0
  • +
  • -

#5 Dr.Code  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 55
  • Joined: 27-August 09

Re: BIPL - Basic Internal Programming Language

Posted 28 August 2009 - 10:12 AM

It is actually use_obj sorry, but anyway it just basically executes those statements above it.

x is the variable that the parse_obj uses to execute it.

Sorry for the speak, I meant say.

And The strings and all the other stuff is under development.

This post has been edited by Dr.Code: 28 August 2009 - 10:16 AM

Was This Post Helpful? 0
  • +
  • -

#6 ForcedSterilizationsForAll  Icon User is offline

  • D.I.C Addict

Reputation: 33
  • View blog
  • Posts: 506
  • Joined: 16-July 09

Re: BIPL - Basic Internal Programming Language

Posted 28 August 2009 - 10:47 AM

so how will this be executed then?

If you have to have use_obj after every statement that doesn't sound very user-friendly or easy to learn. If that's also the case it sounds like it could form bad habits for beginning developers.
Was This Post Helpful? 0
  • +
  • -

#7 Dr.Code  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 55
  • Joined: 27-August 09

Re: BIPL - Basic Internal Programming Language

Posted 28 August 2009 - 01:26 PM

I meant that it is supposed to be after every say statement.

Sorry if you can't understand me.
Was This Post Helpful? 0
  • +
  • -

#8 ForcedSterilizationsForAll  Icon User is offline

  • D.I.C Addict

Reputation: 33
  • View blog
  • Posts: 506
  • Joined: 16-July 09

Re: BIPL - Basic Internal Programming Language

Posted 28 August 2009 - 05:51 PM

So every time you want to display something on the screen you need two statements as opposed to one?
Was This Post Helpful? 0
  • +
  • -

#9 Dr.Code  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 55
  • Joined: 27-August 09

Re: BIPL - Basic Internal Programming Language

Posted 28 August 2009 - 07:10 PM

For right now, yes. There were some bugs that we are trying to fix. You won't have to once we figure out the bug.
Was This Post Helpful? 0
  • +
  • -

#10 Dr.Code  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 55
  • Joined: 27-August 09

Re: BIPL - Basic Internal Programming Language

Posted 29 August 2009 - 07:37 AM

Ok, I fixed the bug :D and changed a few things. This is what the code would look like and I will explain it.
var a = 0; 
say "How old are you?"; 
pause x; 

var b = 0; 
For b = 0 Until a Do 
say a; 
end; 

var c = 0; 
say "And thats the for loop !"; 
pause c;



Ok, first, the say statement says the quote from the quotations.
The pause statement pauses the console and once you press Enter, it reads the variable like 'x'.
And I think you know the rest.

If you have anymore questions about the language, just reply.
Was This Post Helpful? 0
  • +
  • -

#11 Theaegd  Icon User is offline

  • Hater & Lover

Reputation: -125
  • View blog
  • Posts: 944
  • Joined: 15-August 09

Re: BIPL - Basic Internal Programming Language

Posted 31 August 2009 - 10:51 AM

this sucks really bad, people should use the language im making called KSL which will be used along with the compiler "karma Shop"
Was This Post Helpful? 0
  • +
  • -

#12 ForcedSterilizationsForAll  Icon User is offline

  • D.I.C Addict

Reputation: 33
  • View blog
  • Posts: 506
  • Joined: 16-July 09

Re: BIPL - Basic Internal Programming Language

Posted 31 August 2009 - 12:03 PM

KSL sounds retarded. People should use my language which involves a small fire and a blanket. It's what real coders use as it's all ones and zeros with the smoke signals.
Was This Post Helpful? 0
  • +
  • -

#13 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 9387
  • View blog
  • Posts: 35,242
  • Joined: 12-June 08

Re: BIPL - Basic Internal Programming Language

Posted 31 August 2009 - 12:04 PM

View PostTheaegd, on 31 Aug, 2009 - 11:51 AM, said:

this sucks really bad, people should use the language im making called KSL which will be used along with the compiler "karma Shop"


How about you lay off the guy and not just comment on the color of his kettle, okay there pot?

This post has been edited by modi123_1: 31 August 2009 - 12:04 PM

Was This Post Helpful? 0
  • +
  • -

#14 myork  Icon User is offline

  • D.I.C Head

Reputation: 41
  • View blog
  • Posts: 129
  • Joined: 04-March 09

Re: BIPL - Basic Internal Programming Language

Posted 31 August 2009 - 12:13 PM

View PostForcedSterilizationsForAll, on 31 Aug, 2009 - 11:03 AM, said:

KSL sounds retarded. People should use my language which involves a small fire and a blanket. It's what real coders use as it's all ones and zeros with the smoke signals.


But REAL programmers use butterflies

[Edit]:
Since I posted, I might as well voice some concerns.

1)
var a = 0;
say "How old are you?";
pause x; 

Where does the x come from? Is that supposed to be a? And what does 'pause' do? Is it an input thing? Like x(/a) becomes whatever the user inputs at that point? I assume this is the case, since you initialize a to 0 and for b = 0 until a(0) wouldn't do much, would it?

var b = 0;
For b = 0 Until a Do
say a;
end;

What does end do? Is that supposed to denote the end of the For/Do loop?

If my assumptions are correct, I might suggest a revision of the code snippet.
say "How old are you?";

var b = 0;
var a = 0;
pause a;
For b = 0 Until a Do
say a;
end;

var c = 0;
say "And thats the for loop !";
pause c;

This breaks up the code into the parts that matter for each section. var a/pause a don't seem to relate to the first say, and thus just serve to confuse the viewer in the place that they currently are.

How would you write comments in this language? I'd also like to see something advanced to show how simple this language is supposed to be. When I can do this exact same thing in another language in the same/fewer lines of code I wonder what your measure of simplicity is. I also echo the question of whether or not there are classes in this language.

[Edit2]:
And now I get it. Ignore the stuff about the code snippet structure, I'm just dense. Although maybe give the variables descriptive names (a = age, right?)

This post has been edited by myork: 31 August 2009 - 12:35 PM

Was This Post Helpful? 0
  • +
  • -

#15 abgorn  Icon User is offline

  • sudo apt-get install brain
  • member icon

Reputation: 30
  • View blog
  • Posts: 1,410
  • Joined: 05-June 08

Re: BIPL - Basic Internal Programming Language

Posted 31 August 2009 - 02:44 PM

View PostTheaegd, on 31 Aug, 2009 - 09:51 AM, said:

this sucks really bad, people should use the language im making called KSL which will be used along with the compiler "karma Shop"

Ummm, what? Saying crap like that isn't cool. The language is just starting out and your already saying "this sucks really bad..." and then promoting your own language. People like you sicken me. You try and hurt people to make their own work look better when it's not.
Was This Post Helpful? 0
  • +
  • -

  • (11 Pages)
  • +
  • 1
  • 2
  • 3
  • Last »