If you're asking if scape types are redundant, the answer is no. SkyScape, GroundScape and SeaScape are key values which, when assigned to a record, open possibility to fill in extra columns like max altitude, contact type and hydroplaning.
8pla.net ,you seem interested in database design, so I'll reveal you some background. A textual header for noted table would be this one:
Vehicle (
Name (@String),
Engine (Otto | Electric | Jet),
Use (Transport | Tourism | Cargo),
ScapeType (
GroundScape (ContactType (Magnet | Wheels)) |
SeaScape (Hydroplaning (@Boolean)) |
SkyScape (MaxAltitude (@Number)
)
)
and specific record (noted textually) could be this one:
@Vehicle {
@Name {"Bus"},
@Engine {@Otto},
@Use {@Transport},
@ScapeType {
@GroundScape {
@ContactType {@Wheels}
}
}
or this one:
@Vehicle {
@Name {"Plane"},
@Engine {@Jet},
@Use {@Transport},
@ScapeType {
@SkyScape {
@MaxAltitude {1500}
}
}
}
You can say that when you assign a symbol to a variable in a record, you can expand that variable with symbol's extra variables.
Yes, this is a new database technology that, besides AI classification, can find use in database programming. I.e. you can imagine an excel like spreadsheet based on this kind of system. I've also done some experiments (http://synth.wink.ws/ui/ui.html) with this technology. I plan to make this graphical system as a part of Synth (a programming language for AI). I hope for big global crowdsourced database of everything, hosted somewhere on the web. Synth would also have a use in general programming, so if one likes databases, Synth would be the one for her/him.
Thank you. This discussion is even more interesting now.
Let's code in Synth. Is this sample source code correct ?
@Member {
@Name {"Alice"},
@PhoneType {
@Telephone {
@Number {555-1000}
}
@Fax {
@Number {555-2000}
}
}
@Member {
@Name {"Betty"},
@PhoneType {
@Telephone {
@Number {555-3000}
}
@Fax {
@Number {555-4000}
}
}
@Member {
@Name {"Catherine"},
@PhoneType {
@Telephone {
@Number {555-5000}
}
@Fax {
@Number {555-6000}
}
}
@DemonRaven
Just pure Javascript (and maybe some PHP) that parses and executes strings which contain Synth code. This is how to embed Synth code inside HTML:
<script src='synth.js'></script>
<script id='source' type='text/plain'>
... synth source code goes here...
</script>
<script>
synth.run(document.getElementById('source').innerHTML);
</script>
And if you want to interpret a file from disk, you use AJAX to load it, then "synth.run" to execute it. This AJAX call can be implicitly made from Synth or Javascript code, interpreter takes care of it, you just pass a file name.
If I would use a download plugin as a Synth interpreter, things could be more tightly integrated and interpreter could be faster, but that would half down a user count. I hope that this would not be necessary.
I'm changing a codename of the project to "CogLog" programming language, as the name "Synth" is already taken.
I'm still intensively working out details and the new version will use new javascript 6 features to function better. I plan to use multiple line strings for embedding CogLog code into javascript sections. More important news include neater CogLog syntax and possibility to compile code blocks to Javascript through expression translation (i.e. Python or something else to native Javascript). Among the news is extensible syntax of variables, so it will be possible after extension definition to write code in extended manner:
StandardJavascriptCogLogObject.Execute (`
@JavascriptOrOtherLanguageName ~ @SomeExtension1 ~ @SomeExtension2 ... {
... codeblock with extended syntax ...
}
`)
Emphasis yet will be not on custom scripting languages that can be defined in CogLog, but on cognitive capabilities that can be simulated with CogLog (i like this name). Like a language that would be ideal for programming deduction, abduction and induction applications, whatever they could be (read AGI for some users, or i.e. math solving systems for others).
Stay tuned, I'm still under the hub and things are getting better and better, as with every month. If I programmed it a year ago I wouldn't be this rich with ideas, so please be patient, I'm sure it will pay off at the end.
:stirthepot: