falvaro / seshat

Handwritten math expression parser
GNU General Public License v3.0
678 stars 166 forks source link

Multiple parses in single program run #6

Open eweitnauer opened 8 years ago

eweitnauer commented 8 years ago

Thanks for making this library available!! I forked your code and made a couple of adjustments so that it now compiles under OSX.

I'm now trying to change the program so that it can parse multiple input stroke data instances in a single run. Ideally, I'd like to keep the program running and read continually from stdin -- posting the latex results on stdout whenever something comes in.

I think I would need to refactor the meParser class to only read the config once and clean things up after it parsed each input to avoid memory leaks. Does that sound right to you? Can you give me any pointers to how you would approach this task and what things I will need to change?

Thank you so much! Your work is awesome!

Siebenundzwanzig commented 6 years ago

Hello, I am trying to achieve the same, did you have any success? I tried to put the command in a shell script, but it does not seem to work either, only error I am getting is: Error loading InkML file for every InkML file. I tried using the "eval" command in front of executing seshat, which did not work either. Help is much appreciated!