Skip to content

Conversation

@reconbot
Copy link
Member

@reconbot reconbot commented Sep 4, 2016

Parsers are now transform streams!

I'm not 100% convinced this is easier to use but it is more clear about the mechanics. I think that might make it worthwhile. It also opens up a clear example to how to make your own parser.

README.md Outdated
port.write('ROBOT PLEASE RESPOND\n');

// this can be shortened to
var SerialPort = require('serialport');
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is odd/wrong

@reconbot
Copy link
Member Author

reconbot commented Sep 6, 2016

I'm not wanting to merge this without restoring the {parsers} option in the constructor. I think the pipe api is messy by comparison.

@reconbot reconbot force-pushed the parser-streams branch 4 times, most recently from 418dfaf to bf903e8 Compare September 8, 2016 23:17
Parsers are now transform streams! I'm not 100% convinced this is easier to use but it is more clear about the mechanics. I think that might make it worthwhile. It also opens up a clear example to how to make your own parser.
@reconbot reconbot merged commit 0fc091b into master Sep 9, 2016
@reconbot reconbot deleted the parser-streams branch September 9, 2016 16:45
reconbot added a commit that referenced this pull request Jul 24, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Jan 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants