- Mar 22, 2010
- 42
- 1
i'm not very active within this community, but i've found you to be the best resource and probably the best place to "release" this project into the wild. i'm looking for input, assistance, whatever you can give really.
i'm producing a novelty tool at the moment. It won't be useful to some of the more experienced mappers out there, but for the newbies it could help a lot. i've developed an interpreter/converter/compiler (whatever you want to call it) that takes an easy to understand script language and turns it into map entities and connections between them.
it is not a "language" in the traditional sense, there are no return values, functions, etc... it defines relationships, for example:
this would generate 2 math_counter entities and set up connections between them so that "a" always equals "x + 4". if "x" changes values, then "a" changes to adapt to the relationship.
i've worked out the interpreter part, but i would like some help figuring out the entity structures needed as well as any other feature you would like to see. i started working on this a while ago, but i didn't want to say much about it until i got it to the point where i was sure i could get it done.
i've got the following done:
so, i ask you this:
i'm producing a novelty tool at the moment. It won't be useful to some of the more experienced mappers out there, but for the newbies it could help a lot. i've developed an interpreter/converter/compiler (whatever you want to call it) that takes an easy to understand script language and turns it into map entities and connections between them.
it is not a "language" in the traditional sense, there are no return values, functions, etc... it defines relationships, for example:
Code:
number a = 9
number x = 2
a <- x +4
this would generate 2 math_counter entities and set up connections between them so that "a" always equals "x + 4". if "x" changes values, then "a" changes to adapt to the relationship.
i've worked out the interpreter part, but i would like some help figuring out the entity structures needed as well as any other feature you would like to see. i started working on this a while ago, but i didn't want to say much about it until i got it to the point where i was sure i could get it done.
i've got the following done:
- interpreter
- tentative entity structures for basic math
- tentative entity structure for conditionals
- tentative entity structure for loops
- tentative format for "other" inputs and outputs.
so, i ask you this:
- is there anything you want to see in this pseudo-language? any features, structures, or notation?
- how would you represent some of the more common code structures (loops, conditional statements, etc...) with hammer intities?
- would this be something you would use or recommend others to use?
Last edited: