adaptive-learning / flocs-core

Components for intelligent learning of computer science
1 stars 0 forks source link

Design simple representation of blockly code #10

Closed effa closed 7 years ago

effa commented 7 years ago

Probably in JSON. Write a conversion function from Blockly XML to the simple representation (and possibly back).

xpelanek commented 7 years ago

JSON should be fine (would be user friendly for analysis). What about postfix notation (reverse polish notation)? (I'm not sure whether it can capture all required stuff.) Probably less user friendly, but more compact than JSON.

effa commented 7 years ago

Basic version done (in json, but reasonably brief; transformation from json to a more compact form can be implemented later, if needed).