Welcome, Guest. Please Login or Register.
Dec 13th, 2018, 9:53am

erSOFT's Bulletin Board
er?SOFT HomeerSOFT Home Forum Index Forum Index Help Help Search Search Members Members Login Login Register Register
erSOFT Messageboard Programming XML-syntax


   erSOFT Messageboard
   Community
   Random Posts
(Moderators: ejona, moomoo, Rojahon)
   Programming XML-syntax
« Previous topic | Next topic »
Pages: 1  Reply Reply Send Topic Send Topic Print Print
   Author  Topic: Programming XML-syntax  (Read 14663 times)
ejona
er?SOFT Administrator
*****



Gentoo Rules!

225956514 225956514   ejona86   ejona86
View Profile WWW Email

Gender: male
Posts: 261
Programming XML-syntax
« on: Jun 13th, 2005, 6:42pm »
Quote Quote Modify Modify

This is a RFC that relates to the news item. http://ersoft.org/xmlProgRFC.xml -- this file will be updated from time to time.
 
What do you think in general of an XML syntax programming language?  At first it seems stupid, but the strictness of XML could really help out with programming.  Consider malloc.  If you make it in an XML syntax it could do:
 
<malloc bytes="8090" pointer="abc">
<!-- Code here that uses abc -->
</malloc>
 
What happens is then at the end, the memory is freed.  This makes it impossible to have memory leaks.  Of course, there are times when you wouldn't want to do this, but is it nessicary?
 
The point of the language would be to reduce errors while programming.  There are many things I am not saying here because I am currently lazy to write them, but I'll edit the post later or add a new post.
« Last Edit: Jun 13th, 2005, 6:42pm by ejona » IP Logged

-Linux is for networking. Mac is for working. Windows is for solitaire.
-Never argue with an idiot, they will bring you down to their level and then beat you with experience.
ejona
er?SOFT Administrator
*****



Gentoo Rules!

225956514 225956514   ejona86   ejona86
View Profile WWW Email

Gender: male
Posts: 261
Re: Programming XML-syntax
« Reply #1 on: Jun 13th, 2005, 7:12pm »
Quote Quote Modify Modify

It might be good if the xml was moved to the wiki - even if it is slow.
IP Logged

-Linux is for networking. Mac is for working. Windows is for solitaire.
-Never argue with an idiot, they will bring you down to their level and then beat you with experience.
Rojahon
er?SOFT Administrator
*****





    Rojahon
View Profile WWW Email

Gender: male
Posts: 291
Re: Programming XML-syntax
« Reply #2 on: Jun 13th, 2005, 8:43pm »
Quote Quote Modify Modify

I guess we could.  I think it would be better to wait until we get the new server up and running.  Well, I guess it is, we need to put php on it though.  I can do it if you want.  I'm assuming it wouldn't be too different from doing it on windows.  Although, I had some trouble with php5.  It doesn't have MySQL support built in, which was kind of a pain in windows at least.
IP Logged

Jester Entertainment Studios
ejona
er?SOFT Administrator
*****



Gentoo Rules!

225956514 225956514   ejona86   ejona86
View Profile WWW Email

Gender: male
Posts: 261
Re: Programming XML-syntax
« Reply #3 on: Jun 14th, 2005, 12:04am »
Quote Quote Modify Modify

I just thought of a really neat addition.  We haven't calculated DTDs into it yet.  If we have DTDs for each standard of the language, and then have all user defined functions also provide DTD information, then the validation of the program can mostly occur with current xml validators. There would have to be a little bit of extra validation for math and variables, but all the same, it is interesting.
IP Logged

-Linux is for networking. Mac is for working. Windows is for solitaire.
-Never argue with an idiot, they will bring you down to their level and then beat you with experience.
Rojahon
er?SOFT Administrator
*****





    Rojahon
View Profile WWW Email

Gender: male
Posts: 291
Re: Programming XML-syntax
« Reply #4 on: Jun 14th, 2005, 1:07am »
Quote Quote Modify Modify

oh your right.  I didn't think about that.
IP Logged

Jester Entertainment Studios
Rojahon
er?SOFT Administrator
*****





    Rojahon
View Profile WWW Email

Gender: male
Posts: 291
Re: Programming XML-syntax
« Reply #5 on: Jun 14th, 2005, 8:20am »
Quote Quote Modify Modify

Okay, it took a little longer than I planned, but I wanted to make it pretty  Grin.  Well it's not really pretty, but it looks clean.  
 
Here, I set up a wiki on http://ersoft.org/erWiki
 
much more lightweight, but it should do the job.
IP Logged

Jester Entertainment Studios
ejona
er?SOFT Administrator
*****



Gentoo Rules!

225956514 225956514   ejona86   ejona86
View Profile WWW Email

Gender: male
Posts: 261
Re: Programming XML-syntax
« Reply #6 on: Jun 14th, 2005, 6:49pm »
Quote Quote Modify Modify

Yes, that will definately do - very fast and clean.  What database type does it use?
IP Logged

-Linux is for networking. Mac is for working. Windows is for solitaire.
-Never argue with an idiot, they will bring you down to their level and then beat you with experience.
Rojahon
er?SOFT Administrator
*****





    Rojahon
View Profile WWW Email

Gender: male
Posts: 291
Re: Programming XML-syntax
« Reply #7 on: Jun 14th, 2005, 7:13pm »
Quote Quote Modify Modify

It just uses files.  When you run the program it checks to see if the folder 'files' is there, if it isn't it creates it and chmods it.  So it's really easy to install.  Then it just chuncks files in there.  I just had it name the files what there subject is.  I didn't want to have to do any parsing.  It doesn't have any id10t error catches tho, so if you create a subject with the same name as another, it'll just write over the old one.  I guess that wouldn't be hard to fix but I didn't feel like it. Grin
IP Logged

Jester Entertainment Studios
Pages: 1  Reply Reply Send Topic Send Topic Print Print

« Previous topic | Next topic »

erSOFT Messageboard » Powered by YaBB 1 Gold - SP 1.3.1!
YaBB 2000-2003. All Rights Reserved.