freestanding library for receiving commands and executing functions designed for microcontrollers communicating over serial cable
Go to file
Peter McGoron 59523d6de4 add make clean 2021-07-31 20:42:30 -04:00
test exec: split long lines and add user pointer 2021-07-31 20:36:22 -04:00
.gitignore add .gitignore 2021-07-31 20:39:22 -04:00
COPYING.md add COPYING.md 2021-07-31 20:36:59 -04:00
Makefile add make clean 2021-07-31 20:42:30 -04:00
README.md change extension for README 2021-07-31 01:12:35 -04:00
exec.c exec: split long lines and add user pointer 2021-07-31 20:36:22 -04:00
exec.h exec: split long lines and add user pointer 2021-07-31 20:36:22 -04:00
input.c input: reset after parse 2021-07-10 15:45:51 -04:00
input.h input: switch inbuf to char double pointer 2021-07-10 15:17:56 -04:00

README.md

libscomp -- Simple Control Protocol

This is a C89+ library for parsing and executing commands. It is written for a freestanding implementation, meaning that

  • It does no dynamic allocation
  • It does not require any standard library functions
  • It can run on anything with a C compiler

This is designed for microcontrollers that take ASCII input from serial.