[kwlug-disc] Modern way of doing Lex/Yacc

William Park opengeometry at yahoo.ca
Wed Jun 22 00:12:24 EDT 2022


It so happens, I use HP calculator (RPN one).  Stack makes some aspect 
easy, but also makes other aspect very difficult to read and write.  For 
example, conditional and math expression.

Eg. Is "2 + 3" easier, or "2 3 +" easier?


On 2022-06-21 23:43, Glenn Henshaw wrote:
>    Forth?
> 
>    … Glenn
> -- 
> Glenn Henshaw Sunnyvale, California
> 
> 
> 
> 
> 
> 
> 
>> On Jun 21, 2022, at 8:37 PM, William Park via kwlug-disc 
>> <kwlug-disc at kwlug.org <mailto:kwlug-disc at kwlug.org>> wrote:
>>
>> To Computer Science guys,
>>
>> You come across a situation that calls for little "embedded 
>> interpreter" solution.
>>    - You can use already existing embedded interpreter like Tcl or 
>> Lua.  But, these bring their own baggages.
>>    - Or, you can use Lex/Yacc (or Flex/Bison) solution which you 
>> studied in school.  For simple situation, this may be the way to go.
>>
>> But, I'm curious.  Is there something more modern?  Something that 
>> leverages 40 years of collective experience in software development. 
>> Something more than "state machine", but less than full "interpreter".
>>
>> _______________________________________________
>> kwlug-disc mailing list
>> kwlug-disc at kwlug.org <mailto:kwlug-disc at kwlug.org>
>> https://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org
> 




More information about the kwlug-disc mailing list