Skip to content

Switch config format to a custom format #2

@TheTechmage

Description

@TheTechmage

Renzoku needs to use a custom config file format due to the fact that CentOS 6
cannot compile due to an API change that has occurred within libyaml-cpp.
The same API change makes it so that renzoku only compiles on Debian Jesse and
later versions only. Which basically means that you can only run it if you've
got the latest and greatest operating systems. This is a big no-no in my
opinion.

Rough Outline of Tasks:

  • Build a custom lexer
    • Is it modular (sub-classable, etc)
  • Build a tokenizer
    • get_token returns the lexicon (or token?) type
    • get_value returns the value stored within the CURRENT token
  • Build a parser, using the tokenizer
  • Restructure src/config.cpp to use the custom parser
  • PUSH! =D

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions