Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core.lib] Add basic "pretty" printing to `store_conf'. #313

Merged
merged 1 commit into from
Nov 11, 2014

Conversation

eugeneia
Copy link
Member

@eugeneia eugeneia commented Nov 6, 2014

The format is as follows:

{
  array = {
    1,
    2,
  },
  table = {
    foo = 1,
    bar = 2,
  },
}

Its not really pretty, but somewhat readable and the algorithm is simple. Idiomatic Lua formatting would be much more complicated as far as I can imagine.

@lukego
Copy link
Member

lukego commented Nov 10, 2014

Great! Could you please rebase?

lukego added a commit that referenced this pull request Nov 11, 2014
[core.lib] Add basic "pretty" printing to `store_conf'.
@lukego lukego merged commit b119824 into snabbco:master Nov 11, 2014
@eugeneia eugeneia deleted the store_conf-pretty-print branch May 20, 2015 12:54
dpino pushed a commit to dpino/snabb that referenced this pull request May 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants