- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
|| Bad Language.example
|| BL V2.0
U->systemVars
newVar->name('kek')->type('int32')->value(77)->reason('Hint')
U->out
This->out( systemVars->getVarInstance->byName('kek'))
U->Markers
SetMarkerHere->name('file end')->function('return 0')->handleEvalEvent( EVENTS->EVENTSLIST->GETEVENTBYNAME('JustExec')$GET)
|| Succesfull executed!
//
// PROGRAMM$Hint$14:23 -> 77,
//
Впрочем, всё ещё громоздко, хотя и почище XML.
Выглядит, кнчн., ощутимо грязнее, но порой, читается аки прост писанина на ангицком
import BasicLanguageUtilities as BLU
BLU::declareVariable("petooh", BLU::getTypeByName("Int", BLU::getSizeByBits(32)))
BLU::assignDeclaredVariable(getDeclaredV ariableByName("petooh"), BLU::getValueByTypeAndValue(BLU::getType ByName("Int"), BLU::getSizeByBits(32)), BLU::getValue(42))