ScratchData LogoScratchData
Back to pupon's profile

構文解析でAST生成→実行

PUpupon•Created October 21, 2023
構文解析でAST生成→実行
6
6
55 views
View on Scratch

Instructions

toEndでこの方法を使いたいので作成しました。 式(足し算と掛け算と括弧のみ)を計算します。 1+2*3=7 (1+2)*3=9

Description

Scratchで木構造を作るのは難しいけどできたああ 子ノードの数を変えられるようにしたせいで可読性が激減した

Project Details

Project ID911496234
CreatedOctober 21, 2023
Last ModifiedJanuary 19, 2024
SharedOctober 21, 2023
Visibilityvisible
CommentsAllowed