[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Feature proposal: \x## notation in strings
- From: Ico <lua@...>
- Date: Mon, 9 Mar 2009 22:55:06 +0100
It's pretty well possible that this has been brought up in the past, but
I'd still like to bring this up:
I'm using Lua a lot for embedded software, which tends to involve quite
a bit of working with low-level protocols, bits and binary data. One of
the things I'd personally like to see added in Lua to make my life a bit
easier is the C-like notation for 'binary' data in strings using
hexidecimal escape codes like \xNN.
There's probably a good reason why this is not already part of lua, can
anybody shed some light on this ?