This is an draft. See https://github.com/EticaAI/HXL-Data-Science-file-formats/issues/16.
Trivia:
- HDP naming:
- HDP = ‘HDP Declarative Programming’ is the default name.
- When in doubt (or you or your tools can’t detect intent of use in immediate context) this is a good way to call it. See Wikipedia for Declarative programming and Recursive acronym
- HDP = ‘Humanitarian Declarative Programming’ could be one way to call when the intent of the moment is strictly humanitarian.
- The definition of humanitarian is out of scope.
TODO: draft this
# Quick example 1
- hsilo: # hsilo is an verb, without additional tokens
linguam: LAT # linguam is also an verb, LAT is an value
Note: Remove \ from \{\{ and \}\} if this document is renderized with
them.
hsilolinguam: LAT
silolinguam: ENG|SPA|LAT|PORlinguamlinguam: LAT
language linguam: ENGязыкlinguam: RUS[ prefix,
[[ prefix , ] suffix, ]] suffix
{ prefix,
\{\{ prefix , } suffix, \}\} suffix
{, \{\{, \}\}, }], the resulting term must be
perfectly valid HDP vocab that should be able to be translated to EVERY
know natural language enabled by as it is.<, <<, >>, >>], are signed.(, ((, ), ))] are present, the explicit use of this
token us not yet defined, since this meas that an outisde program
also need to be evaluated.
(!( term-here ))] this notation could be good
enough?\{\{datum\}\}linguam: LAT contents digitally
signed and recently verified{?{datum}?}linguam: LAT contents digitally
signed, but not verified yet or this computer can’t do automated
verification{!!!{datum}!!!}linguam: LAT contents
digitally signed, but with 1) error, 2) explicitly untrusted or 3) this
environment do not tolerate {?{datum}?}( prefix, (( prefix , ) suffix,
)) suffix
< prefix, << prefix ,
> suffix, >> suffix
<<COMMENT>>, <ENG<COMMENT>>, <POR<COMENTARIO>><< >>, <<! !>>, , <<!! !!>>, , <<!!! !!!>>Draft from v0.8.3
<< >>, <(.*)< >(.*)>
<</>>, like
<POR<Meu comentário aqui em Português>><<! !>>
<<!! !!>>, <<!!! !!!>>
<<! !>>, but for higher level of information that is not
necessary for end user, but may be for who would work with the library
Issue:
!character is sometimes used to mean ‘encrypted’, so maybe we should choose another character