Pages: « 1 2 3 4 »
  Print  
Author Topic: Updates, Updates, Updates on the way.  (Read 61284 times)
Offline (Male) Josh @ Dreamland
Reply #15 Posted on: May 18, 2010, 01:16:51 pm

Prince of all Goldfish
Developer
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2950

View Profile Email
I suppose this means it would be wise for me to update that list at some point. Have you added a mechanism to do such?
*scrambles to gather functions that have been coded but not included with ENIGMA*
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Male) MahFreenAmeh
Reply #16 Posted on: May 18, 2010, 01:34:02 pm

sysadmin
"Web Team"
Location: Austin, TX
Joined: Apr 2008
Posts: 13
AOL Instant Messenger - sirmxe
View Profile WWW Email
I suppose this means it would be wise for me to update that list at some point. Have you added a mechanism to do such?
*scrambles to gather functions that have been coded but not included with ENIGMA*

Haven't yet added a mechanism, I'll put it in in a little while.
Hallelujah.
Logged
sys(tem)admin(istrator)
[java,c++,c,javascript,html,css,php,perl,ruby,python,sql]
if you've got ideas, let me hear them.
Offline (Male) MahFreenAmeh
Reply #17 Posted on: June 07, 2010, 11:04:24 pm

sysadmin
"Web Team"
Location: Austin, TX
Joined: Apr 2008
Posts: 13
AOL Instant Messenger - sirmxe
View Profile WWW Email
Code: (gml) [Select]
hi
Logged
sys(tem)admin(istrator)
[java,c++,c,javascript,html,css,php,perl,ruby,python,sql]
if you've got ideas, let me hear them.
Offline (Male) retep998
Reply #18 Posted on: June 08, 2010, 12:42:01 am

Member
Location: Where else?
Joined: Jan 2010
Posts: 248
MSN Messenger - retep998@charter.net AOL Instant Messenger - retep998 Yahoo Instant Messenger - retep998
View Profile Email
Code: (gml) [Select]
hi
Code: (gml) [Select]
bi
Logged
Offline (Male) Josh @ Dreamland
Reply #19 Posted on: June 08, 2010, 09:19:23 am

Prince of all Goldfish
Developer
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2950

View Profile Email
Code: (C++) [Select]
#pragma syntax_highlighting
#include <stdio.h> // puts
//dongs
int main(int,char**) {
  return puts("Hello, world!"), 0;
}

Code: (C++) [Select]
#include <stdio.h> // puts
//dongs
int main(int,char**) {
  return puts("Hello, world!"), 0;
}

Code: (C++) [Select]
#pragma arse // arse
#include <stdio.h> // puts
//dongs
int main(int,char**) {
  return puts("Hello, world!"), 0;
}

Code: (C++) [Select]
#include <conio.h> // no reason at all
#include <stdio.h> // puts
//dongs
int main(int,char**) {
  return puts("Hello, world!"), 0;
}
« Last Edit: June 15, 2010, 12:48:34 am by Josh @ Dreamland » Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Unknown gender) score_under
Reply #20 Posted on: June 08, 2010, 10:29:28 am

Member
Joined: Aug 2008
Posts: 308

View Profile
Code: (gml) [Select]
hi
Code: (gml) [Select]
bi
hibi is japanese for "every day".
Code: (Japanese) [Select]
日々
Logged
Offline (Male) MahFreenAmeh
Reply #21 Posted on: June 09, 2010, 05:07:44 pm

sysadmin
"Web Team"
Location: Austin, TX
Joined: Apr 2008
Posts: 13
AOL Instant Messenger - sirmxe
View Profile WWW Email
new functionality, folks.
in the progress page, feel free to just mouse over the function names.
If you mouse over them, it will provide a description (if one has been submitted), else, if you are logged in, a prompt to add a description.
Go ahead, go nuts. Just remember. You're being tracked.
BIG BROTHER CAN SEE YOU
Logged
sys(tem)admin(istrator)
[java,c++,c,javascript,html,css,php,perl,ruby,python,sql]
if you've got ideas, let me hear them.
Offline (Male) MahFreenAmeh
Reply #22 Posted on: June 09, 2010, 11:08:51 pm

sysadmin
"Web Team"
Location: Austin, TX
Joined: Apr 2008
Posts: 13
AOL Instant Messenger - sirmxe
View Profile WWW Email
even more added.
http://enigma-dev.org/export
http://enigma-dev.org/export/func_name
http://enigma-dev.org/export/func_name/field
http://enigma-dev.org/export/xml
http://enigma-dev.org/export/xml/func_name
http://enigma-dev.org/export/xml/func_name/field

not very handy unless you need a way to access the function data. i guess if you want to have an external documentation set up?
Logged
sys(tem)admin(istrator)
[java,c++,c,javascript,html,css,php,perl,ruby,python,sql]
if you've got ideas, let me hear them.
Offline (Female) IsmAvatar
Reply #23 Posted on: June 10, 2010, 11:19:05 am

LateralGM Developer
LGM Developer
Location: Pennsylvania/USA
Joined: Apr 2008
Posts: 877

View Profile Email
erororor: Unknown column 'field' in 'field list'

Also, lrn2xml
Quote
<params>\n\t\t\tn,x\n\t\t</params>
« Last Edit: June 10, 2010, 11:22:03 am by IsmAvatar » Logged
Offline (Male) MahFreenAmeh
Reply #24 Posted on: June 13, 2010, 09:00:29 pm

sysadmin
"Web Team"
Location: Austin, TX
Joined: Apr 2008
Posts: 13
AOL Instant Messenger - sirmxe
View Profile WWW Email
erororor: Unknown column 'field' in 'field list'

Also, lrn2xml
Quote
<params>\n\t\t\tn,x\n\t\t</params>
what the hell. it was working for me the other day.
nonetheless, whitespace was merely put in for people who might want to view it.
i will now go remove that,
Logged
sys(tem)admin(istrator)
[java,c++,c,javascript,html,css,php,perl,ruby,python,sql]
if you've got ideas, let me hear them.
Offline (Male) MahFreenAmeh
Reply #25 Posted on: June 13, 2010, 09:04:34 pm

sysadmin
"Web Team"
Location: Austin, TX
Joined: Apr 2008
Posts: 13
AOL Instant Messenger - sirmxe
View Profile WWW Email
perhaps now it will be more to your liking.
Logged
sys(tem)admin(istrator)
[java,c++,c,javascript,html,css,php,perl,ruby,python,sql]
if you've got ideas, let me hear them.
Offline (Female) IsmAvatar
Reply #26 Posted on: June 14, 2010, 09:51:32 am

LateralGM Developer
LGM Developer
Location: Pennsylvania/USA
Joined: Apr 2008
Posts: 877

View Profile Email
1) erororor still not fixed.
2) I wasn't actually pointing out the whitespace. I didn't mind it so much - in fact I prefer the following:
Code: (xml) [Select]
<object>
  <tag>value</tag>
</object>
where actual values do not have whitespace, but embedded tags have indentation to show which tag they are a member of, and to better emphasize the hierarchy.

I was actually criticizing "x,n"
Code: (xml) [Select]
<params>
 <param>x</param>
 <param>y</param>
</params>

Personally I've started using a modified version of the text one. I drop the "Done" and "All Done" lines, because I can assume that every 3 lines marks a new function and that EOF is EOF.

Also, while you're supporting machine-and-human-friendly formats, might I suggest YAML?

Code: (yaml) [Select]
---
function:
 id: 1
 func: random
 params: [x]
 mode: 2
 subcat: REAL-VALUED FUNCTIONS
 cat: Computing things
 desc:
function:
 id: 2
 func: random_set_seed
 params: [seed]
 mode: 2
 subcat: REAL-VALUED FUNCTIONS
 cat: Computing things
 desc:
#...
function:
 id: 5
 func: choose
 params: [val1,val2,val3,...]
 mode: 1
 subcat: REAL-VALUED FUNCTIONS
 cat: Computing things
 desc: >
  Returns one of the arguments choosen randomly.
  The function can have up to 16 arguments.
...

The "..." at the end indicates end of document. The ">" near the end indicates that its value is contained on the following indented lines, and newlines will be replaced with spaces. To not truncate newlines, use "|" instead of ">".
« Last Edit: June 14, 2010, 10:02:21 am by IsmAvatar » Logged
Offline (Male) MahFreenAmeh
Reply #27 Posted on: June 14, 2010, 03:16:28 pm

sysadmin
"Web Team"
Location: Austin, TX
Joined: Apr 2008
Posts: 13
AOL Instant Messenger - sirmxe
View Profile WWW Email
I'll consider adding in YAML support too. Can't be that hard, it's pretty simple to grok. heh. As per the params, I was just feeding it straight out, I can fix that though. Just have to update the DTD

Edit:
XML appears to be fixed. erororor thing was just a placeholder, but i fixed it as well.
Going to add in YAML support as well, why not.

Second Edit:

Fixed XML fully, as far as I can tell.
Added in YAML support.

http://enigma-dev.org/export/yaml
http://enigma-dev.org/export/yaml/func_name
http://enigma-dev.org/export/yaml/func_name/field

also created aliases for exports:

http://enigma-dev.org/export.txt
http://enigma-dev.org/export:func_name.txt
http://enigma-dev.org/export:func_name.field.txt
http://enigma-dev.org/export.xml
http://enigma-dev.org/export:func_name.xml
http://enigma-dev.org/export:func_name.field.xml
http://enigma-dev.org/export.yaml
http://enigma-dev.org/export:func_name.yaml
http://enigma-dev.org/export:func_name.field.yaml

hurray.
« Last Edit: August 22, 2010, 10:59:04 am by IsmAvatar » Logged
sys(tem)admin(istrator)
[java,c++,c,javascript,html,css,php,perl,ruby,python,sql]
if you've got ideas, let me hear them.
Offline (Female) IsmAvatar
Reply #28 Posted on: June 14, 2010, 07:30:46 pm

LateralGM Developer
LGM Developer
Location: Pennsylvania/USA
Joined: Apr 2008
Posts: 877

View Profile Email
Yaml forbids tabs. Use space instead.

Quote
# Why does YAML forbid tabs?

Tabs have been outlawed since they are treated differently by different editors and tools. And since indentation is so critical to proper interpretation of YAML, this issue is just too tricky to even attempt. Indeed Guido van Rossum of Python has acknowledged that allowing TABs in Python source is a headache for many people and that were he to design Python again, he would forbid them.
« Last Edit: June 14, 2010, 07:38:07 pm by IsmAvatar » Logged
Offline (Male) MahFreenAmeh
Reply #29 Posted on: June 14, 2010, 09:02:48 pm

sysadmin
"Web Team"
Location: Austin, TX
Joined: Apr 2008
Posts: 13
AOL Instant Messenger - sirmxe
View Profile WWW Email
Yaml forbids tabs. Use space instead.

Quote
# Why does YAML forbid tabs?

Tabs have been outlawed since they are treated differently by different editors and tools. And since indentation is so critical to proper interpretation of YAML, this issue is just too tricky to even attempt. Indeed Guido van Rossum of Python has acknowledged that allowing TABs in Python source is a headache for many people and that were he to design Python again, he would forbid them.

no more tabs.
indentation based on three spaces.

anything else i can do for you today? heh.
i need something to do.
« Last Edit: June 14, 2010, 09:06:10 pm by MahFreenAmeh » Logged
sys(tem)admin(istrator)
[java,c++,c,javascript,html,css,php,perl,ruby,python,sql]
if you've got ideas, let me hear them.
Pages: « 1 2 3 4 »
  Print