[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Why not Just PHP-stupid include?
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Tue, 18 Oct 2011 15:41:26 -0200
> I could then write code in another file that would patch the two
> together something like this:
> function sillyCode()
> local y =2
> print(x + y)
You could write a simple reader function that reads input line by line and
understands includes but it will be fooled by long strings and long comments.