Re: How bash do tokenization?

2016-10-19 Thread Peng Yu
OK. I see it, which check emails and print prompt.

What factors people need to consider to decide whether to use flex to
perform tokenization and write a customize tokenizer?

Checking emails and printing prompt strictly speaking is not related
with tokenization. Is there an alternative way to organize the code so
that it will be more decoupled?

On Tue, Oct 18, 2016 at 10:22 PM, Eduardo Bustamante  wrote:
> On Tue, Oct 18, 2016 at 10:18 PM, Eduardo Bustamante  
> wrote:
>> Check parser.y
> Sorry, I meant parse.y, inside it you will find read_token and yylex.



-- 
Regards,
Peng



Re: How bash do tokenization?

2016-10-18 Thread Eduardo Bustamante
On Tue, Oct 18, 2016 at 10:18 PM, Eduardo Bustamante  wrote:
> Check parser.y
Sorry, I meant parse.y, inside it you will find read_token and yylex.



Re: How bash do tokenization?

2016-10-18 Thread Eduardo Bustamante
Check parser.y