hayodea
f5e3986644
DeviceSpec:parser: improve exception messages
2025-01-08 11:46:59 -04:00
hayodea
f594d29a2d
DevMgr: Add sensorDevSpecs list and make intero/extro lists use unique_ptr
2025-01-08 06:23:34 -04:00
hayodea
dd7a75d9b5
devSpec: Update preprocessor error message
2025-01-07 20:21:15 -04:00
hayodea
dda8527e45
DeviceSpec: Rename server to provider
2025-01-07 20:03:03 -04:00
hayodea
1d139644d6
Use move semantics in cmd line parsing
2025-01-07 18:54:00 -04:00
hayodea
fe09b00c7f
Fix build error
2025-01-07 14:24:22 -04:00
hayodea
e86a75e232
devSpec:lex: Fix devSpecType keywords
...
We can't use a plain single letter anymore, so now let's
use some longer keywords instead. New keywords are:
* +idev: interoceptors.
* +adev: actuators.
* +edev: extrospectors.
2025-01-07 14:23:25 -04:00
hayodea
54de145b2d
DevMgr: Add methods to print the parsed devSpecs
2025-01-07 14:14:24 -04:00
hayodea
42413d1cc6
DevMgr: Implement a wrapper around the yacc parser.
...
This wrapper reads the -d <devfile> arguments, collates
them into one big string and then feeds them into yacc.
2025-01-07 14:11:51 -04:00
hayodea
5c3bbdf114
Devspec: Add lexer and parser for devSpecs
...
This grammar looks simple but it consumed 2 days of my time
and it's giving me bugs all the same, but mostly working
nicely.
See the syntax documentation in /docs
2025-01-07 14:09:31 -04:00
hayodea
6307d2869e
DeviceManager: Initial class with DeviceSpecParser
...
Hopefully by the end of tonight we should be done with the dev
spec parser.
2025-01-05 14:19:53 -04:00