プレイ日記
Chemical dsboy55
Here it is! The code for my ChemicalPHP interpreter is here. Have fun modifying and making your own programs!
6そうだね
プレイ済み
返信[1]
親投稿
SıмΞоп SimeonW
... WHAT? :o An interpreter for what language?
0そうだね
プレイ済み
返信[2]
親投稿
SıмΞоп SimeonW
Yea so I curiously studied your source code, It is pretty interesting, and much shorter than I expected May I recommend studying "Reverse polish notation" using the "Shunting yard algorithm" If you study the wikipedia page(s) then you'll be able to build much more complex parsing engines It converts an expression that needs parentheses into one that doesnt (3-5)/(1+2) ↓↓↓↓↓↓ 3 5 - 1 2 + /
1そうだね
プレイ済み
返信[3]
親投稿
Chemical dsboy55
Thanks for the positive feedback, and I'll defiantly go and try that out. Also, it's literally my first program. Ever. So err...yeah.
0そうだね
プレイ済み
返信[4]
親投稿
Chemical dsboy55
dangit, definitely*
0そうだね
プレイ済み