c++ - Declarative language to describe abstract objects and behaviour -


i don't know lot declarative languages. i'm looking simple , minimalistic language describe objects, attributes , way react when environment event occurs. use, process , write code c++.

it useful 2d rogue-like or strategy games, simulations etc.

does exist or similar?

i try write on own, don't want reinvent wheel :)

i pretty sure there no declarative languages looking for. declarative languages highly tailored problem domain. when want language describes "a way [objects] react when environment event occurs" makes me think declarative language not you're looking since implies side effects.

if looking embeddable languages lua , python both proven. warcraft 3 engine used lua derivative scripting similar describing, , python used embedding in general.

if looking standard minimalistic data format, json pretty way go, , lord knows there standard parsers out there.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -