Re: String argification
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: String argification
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: 2011年2月28日 11:48:09 -0300
> I'm implementing a REPL for a game server; a simple Lua client which
> prompts the user for a command, parses it, and sends it off to the
> server. As such I need to be able to read a unix-style command line and
> parse it into records the server will understand.
>
> Rename 405 "This is the new name for object #405"
>
> ...becomes {"Rename", "405", "This is the new name for object #405"} in
> the wire protocol.
My cl was meant to handle this task:
http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#lcl