by @stud. Adam Tykutskyi Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_428bc689_3c01_4c2d_a2a7_377e1480b41e"},{"@type":"Declare","tpe":"Integer","name":"x","id":"id_869c2063_d120_47ed_a1d4_1d9a5b1b7f71","initValue":null},{"@type":"Declare","tpe":"Integer","name":"risultato","id":"id_a72f608f_03f3_4843_83d6_b69c78d8d1c0","initValue":null},{"newline":true,"@type":"Output","id":"id_676487f2_aca8_448e_adf0_79d001149217","value":"\"dammi il numero\""},{"@type":"Input","name":"x","id":"id_2ef49ee7_2d71_48be_9ce0_5d07861c5f9a","prompt":null},{"falseBlock":{"statements":[{"@type":"Assign","name":"risultato","id":"id_62f47785_e420_4d1b_b712_816e1c92e223","value":"x-1"},{"newline":true,"@type":"Output","id":"id_e70d3c9c_83bc_4915_a393_15bd66e51516","value":"\"il precedente è:\""}],"id":"id_208a4b72_72b5_470d_b28a_3417e3947bc4"},"trueBlock":{"statements":[{"@type":"Assign","name":"risultato","id":"id_5c4a3716_5e53_4f9d_a307_c0158db1a777","value":"x+1"},{"newline":true,"@type":"Output","id":"id_80a525ab_0062_41fa_819f_8a7877c91c3b","value":"\"il successivo è:\""}],"id":"id_0f036dcf_7901_41d3_aa45_0ba9ddb5bf16"},"condition":"x>=0","@type":"If","id":"id_6da2d6cc_88fc_48b9_be22_bf9dc0d6d0b8"},{"newline":true,"@type":"Output","id":"id_dfa030bb_d0af_40f6_9928_011bb11a3291","value":"risultato"},{"@type":"Return","id":"id_ec379307_2ed0_4c91_b945_7bd7402b857f","maybeValue":null}],"parameters":[]},"id":"id_20c430fe_b653_459e_b319_bee3e39181ff","config":{"showDebugVars":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":127}