c3d / db48x

RPL runtime for the DM42 calculator, in the spirit of HP48/49/50
http://48calc.org
GNU Lesser General Public License v3.0
63 stars 9 forks source link

Parsing of local var definition in programs #269

Open c3d opened 11 months ago

c3d commented 11 months ago

Discussed in https://github.com/c3d/DB48X-on-DM42/discussions/175

Originally posted by **camillew** July 23, 2023 Hello, While trying to write some simple program, I encountered an issue that was already discussed in a demo video, where << ->A B C <<...>> >> is not understood correctly because there is no space between the -> and the A. Mentioning it here, just so that this (small) issue is not forgotten. Thanks again, Camille
c3d commented 11 months ago

This should be fixed by adding a helper to create a local program.

The parsing of →Num or →Q or similar requires that we demand the space.

c3d commented 11 months ago

This should be fixed by adding a helper to create a local program.

The parsing of →Num or →Q or similar requires that we demand the space.