Sinisterly
Xitram language interpreter - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Coding (https://sinister.ly/Forum-Coding)
+--- Forum: PHP (https://sinister.ly/Forum-PHP)
+--- Thread: Xitram language interpreter (/Thread-Xitram-language-interpreter)

Pages: 1 2


Xitram language interpreter - 1llusion - 06-08-2013

Hi!

I required a very simple language for a few of my projects (BotnetOnline and one that I haven't named yet). So here is what I came up with. A very simple language that by default doesn't have any keywords except for "h" which outputs "Hello world".
The source code can be found here: https://github.com/1llusion/xitram
Feel free to add any content Smile

Have a nice day!

UPDATE:
  • Finished a simple parser, single and double quoted strings can be used now. They are passed to the keyword as a single command and additional commands can be added after strings (unlike before).
  • Added an example, of how Xitram can communicate with database. Look for dbpdo keyword
WIP:
  • A virtual database system for Xitram - prepare for a safe way to test SQL injections Tongue
  • help keyword



RE: Xitram language interpreter - RogueCoder - 06-08-2013

Interesting project. I'll have to give it a try when I get some better time Smile


RE: Xitram language interpreter - 1llusion - 06-08-2013

(06-08-2013, 09:01 PM)shp0ngl3 Wrote: Interesting project. I'll have to give it a try when I get some better time Smile

Thanks Smile be sure to report back when you do Smile

Meanwhile... fixed a grammar error in my code and created a new one in the commit description =.=


RE: Xitram language interpreter - RogueCoder - 06-08-2013

(06-08-2013, 09:20 PM)1llusion Wrote:
(06-08-2013, 09:01 PM)shp0ngl3 Wrote: Interesting project. I'll have to give it a try when I get some better time Smile

Thanks Smile be sure to report back when you do Smile

Meanwhile... fixed a grammar error in my code and created a new one in the commit description =.=

I will Smile Haha that's the proper way to do it. Makes your project look incredible active as well with tons of commits :lol:


RE: Xitram language interpreter - Anima Templi - 06-08-2013

Looks awesome! I'm not sure I have the time to check it out in the nearest future but when I get the time i surely will. It's nice to see projects like this!


RE: Xitram language interpreter - 1llusion - 06-08-2013

(06-08-2013, 10:47 PM)Anima Templi Wrote: Looks awesome! I'm not sure I have the time to check it out in the nearest future but when I get the time i surely will. It's nice to see projects like this!

Thanks Smile I'll soon post a live example on my domain so people can actually try it out without downloading Smile


RE: Xitram language interpreter - The Alchemist - 06-09-2013

Wait a second!! You designed a whole new programming laguage? With PHP?


RE: Xitram language interpreter - 1llusion - 06-09-2013

(06-09-2013, 04:09 AM)The Alchemist Wrote: Wait a second!! You designed a whole new programming laguage? With PHP?

It's not "whole" yet, but well... yes... I think you could say that.

UPDATE:
Currently working on: String handling, Error, Warning, Notice handling, PDO support (by dbpdo command), help command (that attempts to list all keywords on current Xitram and if possible even their usage and description)

Feel free to create your own keywords and push them to the Git Smile


RE: Xitram language interpreter - The Alchemist - 06-09-2013

(06-09-2013, 04:16 AM)1llusion Wrote:
(06-09-2013, 04:09 AM)The Alchemist Wrote: Wait a second!! You designed a whole new programming laguage? With PHP?

It's not "whole" yet, but well... yes... I think you could say that.

UPDATE:
Currently working on: String handling, Error, Warning, Notice handling, PDO support (by dbpdo command), help command (that attempts to list all keywords on current Xitram and if possible even their usage and description)

Feel free to create your own keywords and push them to the Git Smile
Sure. I'll see if I can make a few additions.


RE: Xitram language interpreter - noize - 06-10-2013

But this is fucking Cool.

Check out say.php, in the comment you're saying you don't want any additional comment, but that's wrong for sure.