Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Using character constants for denoting one-character tokens is a time-honored tradition that everyone understands.

E.g. GNU Awk:

http://git.savannah.gnu.org/cgit/gawk.git/tree/awkgram.y?h=g...

This is readable; it says "I am just what I look like: a terminal symbol corresponding to the actual +".



Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: