Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
About
Team
Rules
Stats
Status
Sitemap
Chat
Downloads
Forum
News
Our Projects
Major Community Projects
Recent Posts
Unread Posts
Replies
Tools
SourceCoder3
Other Things...
Omnimaga Radio
TI-83 Plus ASM File Unsquisher
Z80 Conversion Tools
IES TI File Editor
Free RAM areas
Comprehensive Getkeyr table
URL Shortener
Online Axe Tilemap Editor
Help
Contact Us
Change Request
Report Issue/Bug
Team
Articles
Members
View the memberlist
Search For Members
Buddies
Login
Register
Omnimaga
»
Forum
»
General Discussion
»
Technology and Development
»
Computer Projects and Ideas
»
A New Programming Language
« previous
next »
Print
Pages:
1
[
2
]
Go Down
Author
Topic: A New Programming Language (Read 11858 times)
0 Members and 1 Guest are viewing this topic.
cyanophycean314
LV6
Super Member (Next: 500)
Posts: 363
Rating: +43/-1
It's You!
Re: A New Programming Language
«
Reply #15 on:
March 06, 2012, 08:08:01 pm »
If > and < are input and output, what would the greater and less than signs be? << and >>? I guess that would work.
Naming suggestions... Idk
Nice project though!
Logged
Programs (Nspire Lua)
Hangman
|
Checkers
|
Rush Hour
|
Base Converter
|
Flashlight, Mempi, and Strategy Steps
|
Jumper
|
Scramble/Boggle
Ki1o
LV4
Regular (Next: 200)
Posts: 119
Rating: +5/-2
Doing my best...
Re: A New Programming Language
«
Reply #16 on:
March 06, 2012, 08:17:13 pm »
@cyanophycean314, no it check to see if its the beginning of a line if so then it is read as input or output. If not then it is comparison operation.
Logged
williamvanr
LV0
Newcomer (Next: 5)
Posts: 3
Rating: +0/-0
Re: A New Programming Language
«
Reply #17 on:
March 06, 2012, 08:26:23 pm »
Hello, I am working with Ki1o on the programming language, and I am posting to clarify our intentions for the programming language. We were eventually going to implement the lexer, parser, and interpreter in C++. However, we decided we wanted the language to be more portable, so we decided to implement the lexer and parser in Java and the interpreter in C++ (for performance reasons). Now we are just going to implement the whole project in Java and compile directly to Java bytecode. We plan to create a dynamically typed and easy to use (and eventually object oriented) programming language. We hope to reduce the verbosity of some other programming languages languages. Our reasoning for implementing the whole project in Java is that Java is easier to use (in my opinion) than C++, more portable, and more secure. We are still deciding on a name and would love any suggestions.
Just to show the simplicity of this language, Ki1o has already posted the methods for input/output.
< "Output"; // output
> variable; // input
< "You entered " + variable; // Output expression
@cyanophycean314 you raise a good point and the way we will differentiate between these and the greater than and less than operators is by the context. If > or < is used by itself on a line, it implies input/output, if used as an operator (2 < 3) then it will be treated as a greater or less than operator.
Logged
cyanophycean314
LV6
Super Member (Next: 500)
Posts: 363
Rating: +43/-1
It's You!
Re: A New Programming Language
«
Reply #18 on:
March 06, 2012, 08:29:07 pm »
Ok, that works too. Once again, keep up the good work!
Edit:
«
Last Edit: March 06, 2012, 08:30:41 pm by cyanophycean314
»
Logged
Programs (Nspire Lua)
Hangman
|
Checkers
|
Rush Hour
|
Base Converter
|
Flashlight, Mempi, and Strategy Steps
|
Jumper
|
Scramble/Boggle
BlakPilar
LV8
Addict (Next: 1000)
Posts: 734
Rating: +44/-1
Re: A New Programming Language
«
Reply #19 on:
March 06, 2012, 08:29:11 pm »
Sorry I didn't reply before, I didn't get an email for some reason.
As for names, I prefer colors for some reason lol. I have a sort of VM I'm writing called Red, and I was thinking about changing my .NET language to Blue. I also think things dealing physics have cool names, like quasars and novas.
Now for bytecode, do you mean actual Java bytecode, or your own implementation of it?
Logged
Ki1o
LV4
Regular (Next: 200)
Posts: 119
Rating: +5/-2
Doing my best...
Re: A New Programming Language
«
Reply #20 on:
March 06, 2012, 08:36:33 pm »
Java bytecode.
Logged
BlakPilar
LV8
Addict (Next: 1000)
Posts: 734
Rating: +44/-1
Re: A New Programming Language
«
Reply #21 on:
March 06, 2012, 08:37:49 pm »
So literally the same byte structure as a .class file?
Logged
williamvanr
LV0
Newcomer (Next: 5)
Posts: 3
Rating: +0/-0
Re: A New Programming Language
«
Reply #22 on:
March 06, 2012, 08:43:14 pm »
@BlakPilar Yes, the bytecode structure of a .class file following the Oracle JVM spec:
http://docs.oracle.com/javase/specs/
Logged
BlakPilar
LV8
Addict (Next: 1000)
Posts: 734
Rating: +44/-1
Re: A New Programming Language
«
Reply #23 on:
March 06, 2012, 08:55:13 pm »
So essentially programs written in your language will be able to be run on any computer with a Java VM on it. Very nice. Are you going to support classes, enums, methods, etc.?
Logged
williamvanr
LV0
Newcomer (Next: 5)
Posts: 3
Rating: +0/-0
Re: A New Programming Language
«
Reply #24 on:
March 06, 2012, 09:04:20 pm »
Yes, it will be able to run on any computer with a JVM. We are still learning, so we are going to start with basic features such as input, output, variables, and arithmetic. We will later add support for functions, if/else if/else statements, loops, arrays, and eventually classes and objects.
Logged
Ki1o
LV4
Regular (Next: 200)
Posts: 119
Rating: +5/-2
Doing my best...
Re: A New Programming Language
«
Reply #25 on:
March 06, 2012, 09:09:50 pm »
Yes, right now we are studying the JVM specs so we can interpret and compile the instrctions.
Logged
Print
Pages:
1
[
2
]
Go Up
« previous
next »
Omnimaga
»
Forum
»
General Discussion
»
Technology and Development
»
Computer Projects and Ideas
»
A New Programming Language