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

RFC 101/166 style #118

Merged
merged 128 commits into from
Mar 14, 2024
Merged

RFC 101/166 style #118

merged 128 commits into from
Mar 14, 2024

Commits on Apr 6, 2023

  1. Apply hlint suggestions

    Lucus16 committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    d2cc629 View commit details
    Browse the repository at this point in the history
  2. Generalize parsing utilities

    Lucus16 committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    d83a00c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c8ebd02 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0c9d9a4 View commit details
    Browse the repository at this point in the history
  5. Fix argument order in Ann

    Lucus16 committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    f702d73 View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2023

  1. Configuration menu
    Copy the full SHA
    5ae8e62 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2023

  1. Add direnv

    piegamesde committed May 5, 2023
    Configuration menu
    Copy the full SHA
    4a05494 View commit details
    Browse the repository at this point in the history
  2. Update CLI flags description

    To make more clear that one formats and the other one only checks
    piegamesde committed May 5, 2023
    Configuration menu
    Copy the full SHA
    13b7904 View commit details
    Browse the repository at this point in the history
  3. Add simple test runner

    Tests mostly imported from Alejandra
    piegamesde committed May 5, 2023
    Configuration menu
    Copy the full SHA
    f938cfc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9ce4ce3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e05d6a2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    305ed77 View commit details
    Browse the repository at this point in the history
  7. Rework if statements

    - Disallow single-line if statements
    - Handle multi-line conditions differently (indent instead of absorb)
    piegamesde committed May 5, 2023
    Configuration menu
    Copy the full SHA
    73e7ec4 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    cd0acd3 View commit details
    Browse the repository at this point in the history
  9. Rework inherit statements

    - The (from) case needs to be improved
    - Somehow it indents the comments *after* the statement now, no idea why or how to fix
    piegamesde committed May 5, 2023
    Configuration menu
    Copy the full SHA
    8315ca3 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    28a54b3 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    7fe6a99 View commit details
    Browse the repository at this point in the history
  12. Rework bindings

    piegamesde committed May 5, 2023
    Configuration menu
    Copy the full SHA
    e9cdac6 View commit details
    Browse the repository at this point in the history

Commits on May 7, 2023

  1. Tests: replace diff/idioms_pkgs_3

    The file was identical to diff/idioms_nixos_1 and therefore redundant.
    Moreover, we need to also keep a look on the *really* big packages in there,
    and Mozilla is a prime example.
    piegamesde committed May 7, 2023
    Configuration menu
    Copy the full SHA
    2e2797a View commit details
    Browse the repository at this point in the history
  2. fixup! Rework bindings

    piegamesde committed May 7, 2023
    Configuration menu
    Copy the full SHA
    dafec15 View commit details
    Browse the repository at this point in the history
  3. Expand singleton lists with a multiline item

    Except when that item is another list or attribute set
    piegamesde committed May 7, 2023
    Configuration menu
    Copy the full SHA
    de7bd6d View commit details
    Browse the repository at this point in the history
  4. Test: add idioms_nixos_2

    This is nixos/modules/services/web-apps/nextcloud.nix, so that we have a
    big NixOS module in our suite
    piegamesde committed May 7, 2023
    Configuration menu
    Copy the full SHA
    d1ba3cd View commit details
    Browse the repository at this point in the history

Commits on May 17, 2023

  1. Configuration menu
    Copy the full SHA
    e6bed2a View commit details
    Browse the repository at this point in the history

Commits on May 18, 2023

  1. Improve group handling for bindings and inherit

    There is now the choice whether to pull whitespace just before/at the start of a group
    in or out. This allows to fix an outstanding issue with inherit statements, and is also
    used in the bindings format
    piegamesde committed May 18, 2023
    Configuration menu
    Copy the full SHA
    a226b6d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0528d78 View commit details
    Browse the repository at this point in the history

Commits on May 19, 2023

  1. Rework operators

    They now get expanded and indented more liberally, with some exceptions.
    Things still look weird at places because of parentheses formatting.
    piegamesde committed May 19, 2023
    Configuration menu
    Copy the full SHA
    8a6cb8c View commit details
    Browse the repository at this point in the history
  2. Rework parentheses

    With a couple of exceptions, multiline parentheses are now
    forced to start on the next line.
    piegamesde committed May 19, 2023
    Configuration menu
    Copy the full SHA
    487d313 View commit details
    Browse the repository at this point in the history
  3. Rework function calls

    piegamesde committed May 19, 2023
    Configuration menu
    Copy the full SHA
    6ce18ad View commit details
    Browse the repository at this point in the history
  4. Add direnv

    piegamesde committed May 19, 2023
    Configuration menu
    Copy the full SHA
    3802eaa View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7c18e90 View commit details
    Browse the repository at this point in the history
  6. Fix function commas

    - Trailing commas were missing on parameters with default values
    - Moving comments around to better migrate from leading-comma to trailing-comma style
    piegamesde committed May 19, 2023
    Configuration menu
    Copy the full SHA
    10745f3 View commit details
    Browse the repository at this point in the history

Commits on May 20, 2023

  1. Move comments around a bit

    Also make sure that comments do not accidentally force-expand expressions
    piegamesde committed May 20, 2023
    Configuration menu
    Copy the full SHA
    20d35b3 View commit details
    Browse the repository at this point in the history

Commits on May 21, 2023

  1. Tweak operations some more

    piegamesde committed May 21, 2023
    Configuration menu
    Copy the full SHA
    2a9ec6b View commit details
    Browse the repository at this point in the history
  2. wip

    piegamesde committed May 21, 2023
    Configuration menu
    Copy the full SHA
    cb309e4 View commit details
    Browse the repository at this point in the history
  3. pretty parentheses

    piegamesde committed May 21, 2023
    Configuration menu
    Copy the full SHA
    6f4791d View commit details
    Browse the repository at this point in the history
  4. stupid silly bug

    piegamesde committed May 21, 2023
    Configuration menu
    Copy the full SHA
    8d07dc9 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2023

  1. Configuration menu
    Copy the full SHA
    b1b9313 View commit details
    Browse the repository at this point in the history
  2. Tweak operations some more

    - Nested operations don't get absorbed, start on new line instead
    - First element of parenthesized operation is not absorbed anymore
    piegamesde committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    0b26acb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3e16d20 View commit details
    Browse the repository at this point in the history
  4. Special case binary operators

    If we know that there are going to be two arguments at most, using a more compact form is fine
    piegamesde committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    db2c938 View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2023

  1. Improve error message on verify

    Even if this is an "internal" error that requires users to file a bug report,
    at the end there still will be some developer who has to debug it.
    (It's me, I'm a developer who has to debug it)
    piegamesde committed Jun 8, 2023
    Configuration menu
    Copy the full SHA
    66ac4b4 View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2023

  1. Improve layouting algorithm

    - Introduced the concept of "priority" groups
      - If a group does not fit into one line but contains a priority group,
        try to expand that first and see how much fits into the line.
    - Some whitespaces in groups are not automatically moved out anymore.
      - This allows us to drop the two boolean attributes on Group which previously
        controlled the move-in behavior.
      - This required some small fixes around existing code, who worked under the previous
        assumption of this not making any difference
      - To reduce error potential, groups are forbidden to start or end with whitespace.
        group' needs to be used as an opt-in instead.
    - Refactored nesting indentation handling
      - This fixes the issue that indentation might be wrong if the indentation block
        ends with some newline whitespace. In that case, the token following it would
        get the indentation of the block, despite being outside of it.
      - This is solved by not applying indentation on newlines right away. Instead, that
        is deferred until actually writing the first token in that line. That way, we
        are guaranteed to use the correct indentation for that token.
    - Those changes made the `moveLinesIn` method redundant, as the layouting algorithm
      now is powerful enough to properly work without that normalization step.
    
    Performance impact has not been evaluated.
    piegamesde committed Jun 15, 2023
    Configuration menu
    Copy the full SHA
    5a8eb61 View commit details
    Browse the repository at this point in the history
  2. Factor out function application code

    This is a no-op, but will make tracking changes of coming refactorings easier
    piegamesde committed Jun 15, 2023
    Configuration menu
    Copy the full SHA
    eeb2534 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    792c405 View commit details
    Browse the repository at this point in the history
  4. Improve comment handling

    - Parenthesized function applications with comments
    - Operations with comments on the operator
    piegamesde committed Jun 15, 2023
    Configuration menu
    Copy the full SHA
    b7daac9 View commit details
    Browse the repository at this point in the history
  5. Unindent semicolons again

    Also apparently empty inherit statements are allowed in Nix and I hate everything about it
    piegamesde committed Jun 15, 2023
    Configuration menu
    Copy the full SHA
    b86d8ea View commit details
    Browse the repository at this point in the history
  6. Don't absorb lambda body

    piegamesde committed Jun 15, 2023
    Configuration menu
    Copy the full SHA
    9a6cc7f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3da135d View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2023

  1. Configuration menu
    Copy the full SHA
    66b6712 View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2023

  1. Rework sets and lists

    Mainly try to be smarter about comments around their start
    piegamesde committed Jun 23, 2023
    Configuration menu
    Copy the full SHA
    5bb0639 View commit details
    Browse the repository at this point in the history
  2. Force-spread inherit with more than three items

    even if all items would fit onto one line.
    We already do so for lists and attribute sets with more than one element, so this is only consistent.
    The motivation is to keep the line length and contraction at bay even with large maximum line sizes.
    The limit of 3 was chosen imperically.
    piegamesde committed Jun 23, 2023
    Configuration menu
    Copy the full SHA
    f7cf76f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a7dc8bb View commit details
    Browse the repository at this point in the history
  4. Tests: add lib/systems/parse.nix

    Because it contains some pretty nasty vertical alignment examples, which nixfmt does not deal with well currently.
    piegamesde committed Jun 23, 2023
    Configuration menu
    Copy the full SHA
    4e1ff44 View commit details
    Browse the repository at this point in the history
  5. Better trailing comment parsing

    If a supposedly trailing comment is directly followed by a line of same indentation,
    treat it as part of that instead of as a trailing comment to the previous token.
    piegamesde committed Jun 23, 2023
    Configuration menu
    Copy the full SHA
    c926692 View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2023

  1. Function application: fix edge case

    When the function application hit exactly the line length limit, the closing
    parenthesis or semicolon (depending on context) would be rendered weirdly onto
    the next line.
    piegamesde committed Jun 25, 2023
    Configuration menu
    Copy the full SHA
    c2702df View commit details
    Browse the repository at this point in the history
  2. Function application: don't always absorb last argument

    This was looking especially weird with some kinds of strings
    piegamesde committed Jun 25, 2023
    Configuration menu
    Copy the full SHA
    538663c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    325305e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a95bd3a View commit details
    Browse the repository at this point in the history
  5. Ignore comments in line length calculation

    Since we don't enforce line limits on comments anyways, all they currently do is to
    accidentally expand some content before them. This makes the code uglier, without meaningfully
    reducing the line length in practice. Therefore, we are better of just ignoring them.
    piegamesde committed Jun 25, 2023
    Configuration menu
    Copy the full SHA
    32609c8 View commit details
    Browse the repository at this point in the history
  6. Ignore indentation in line length calculation

    This makes that lines don't get squished more if they are indented more,
    resulting in a more uniform look. Eventually, there should be a configurable
    limit for ignoring indentation, to still have *some* bound on the line length.
    piegamesde committed Jun 25, 2023
    Configuration menu
    Copy the full SHA
    c568bfa View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2023

  1. Configuration menu
    Copy the full SHA
    1e42aa2 View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2023

  1. Configuration menu
    Copy the full SHA
    e6693ca View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2023

  1. Configuration menu
    Copy the full SHA
    3b26c7d View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2023

  1. Tests: Add check-meta.nix

    piegamesde committed Jul 9, 2023
    Configuration menu
    Copy the full SHA
    4c0007e View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2023

  1. Improved helper functions

    piegamesde committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    ef310bb View commit details
    Browse the repository at this point in the history
  2. Improve priority group handling

    It now also takes into account whether post fits onto a single line or not.
    Previously this did not matter, as all instances only had whitespace in there,
    so force-unexpanding worked as a hack. But now it is time to fully implement the feature.
    
    No big changes to the layouting algorithm itself were made, however it needed to be
    refactored such that the interface it provides only processes one item at a time.
    (The algorithm already did that, it's just that the function always also processed the rest.)
    This has been done by making use of the State monad.
    
    This should cause no changes to the output format.
    piegamesde committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    a54a01a View commit details
    Browse the repository at this point in the history
  3. Rework // operator

    The existing special treatment of the entire operator got removed.
    Instead, it is mostly treated like any other operator, except for a handful
    of carefully picked special cases around binders.
    piegamesde committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    c4bfa2c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    81d3cf8 View commit details
    Browse the repository at this point in the history
  5. Introduce support for optional trailing commas

    We want trailing commas, but only in expanded argument lists.
    This change allows us to do that.
    piegamesde committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    cc5b426 View commit details
    Browse the repository at this point in the history
  6. Expand attrset function parameters less

    Keep up to two arguments compact, which benefits a lot of small functions
    operating on key-value pairs.
    piegamesde committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    4468e9b View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2023

  1. Rework renderer again

    It is now even more powerful, although there is still a bit of room for improvement in the future.
    In short, it defers merging spacing across group boundaries, allowing groups to start/end with spacing
    even if the previous/next token is a whitespace too. Previously, they would get merged, causing weird results.
    
    - Removed mergeSpacings', as it is not needed anymore
    - Merged moveLinesOut and mergeSpacings into a single pass "fixup"
    - layoutGreedy can now handle some consecutive spacings across group boundaries
      - It still does not handle all cases, only the ones needed for the current features.
        More will be added as needed.
    piegamesde committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    9ac66a9 View commit details
    Browse the repository at this point in the history
  2. Binders: be more selective about semicolon placement

    Only place the semicolon onto a new line if the last expression
    of the body is an if statement or an operator chain.
    piegamesde committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    a93dcf7 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2023

  1. Fix comment handling

    Instead of extracting comments from tokens with a lot of special cases, we now move them out of groups
    as part of the fixup processing.
    This fixes comment handling in all the remaining cases which were previously forgotten.
    piegamesde committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    43dd01d View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2023

  1. Configuration menu
    Copy the full SHA
    549541f View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2023

  1. Configuration menu
    Copy the full SHA
    7649a1b View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2023

  1. Update the default line length to 100

    As was empirically determined in #3 and piegamesde/nixpkgs#3
    piegamesde committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    8645a22 View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2023

  1. Tests: add make-derivation.nix

    It contains some good corner cases for function declarations with comments
    piegamesde committed Nov 17, 2023
    Configuration menu
    Copy the full SHA
    d2d4a54 View commit details
    Browse the repository at this point in the history
  2. Types: introduce mapLastToken

    This will be required for migrating some comments in function declarations
    piegamesde committed Nov 17, 2023
    Configuration menu
    Copy the full SHA
    8a5109b View commit details
    Browse the repository at this point in the history
  3. Function declarations: fixup commas and comments more

    The previous code was missing quite a few important edge cases, now most should be handled
    piegamesde committed Nov 17, 2023
    Configuration menu
    Copy the full SHA
    55aae75 View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2023

  1. Configuration menu
    Copy the full SHA
    91acfa0 View commit details
    Browse the repository at this point in the history
  2. String interpolations: Ignore line length limits

    Interpolations in strings that are shorter than 30 characters will be rendered inline,
    even if the string exeeds the line length limit.
    piegamesde committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    064bf4d View commit details
    Browse the repository at this point in the history
  3. String interpolations: compact function applications

    Function applications up to two simple arguments are now
    counted as "simple" and written on a single line
    piegamesde committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    9d7317f View commit details
    Browse the repository at this point in the history
  4. Function application: Compact simple functions

    "Simple" function applications will always be rendered on a single line.
    piegamesde committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    46d12b2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    62fe12f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    951261e View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2023

  1. Inherit: Indent trailing semicolon again

    This is a manual partial revert of b86d8ea
    piegamesde committed Dec 1, 2023
    Configuration menu
    Copy the full SHA
    136edf4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    206653b View commit details
    Browse the repository at this point in the history
  3. Fix idempotency, enable --verify in tests

    The basic issue is that we must not emit a trailing comment at +2 of the current indentation.
    This is because, that comment will then be parsed as a leading comment to the next line,
    instead of a trailing comment to the current line, leading to a different output.
    
    Input:
    
    ```nix
    foo bar baz ( # comment
      b
    )
    ```
    
    Output 1:
    
    ```nix
    foo
      bar
      baz
      ( # comment
        b
      )
    ```
    
    Output 2:
    
    ```nix
    foo
      bar
      baz
      (
        # comment
        b
      )
    ```
    
    Simply guaranteeing that all comments will be moved up such that such an emission never happens is not feasible,
    due to a large number of edge cases.
    
    Instead, the currently implemented solution is to track trailing comments specially in the intermediate representation,
    and let the renderer handle this. The render will check for such a situation, and insert an additional space to avoid it:
    
    ```nix
    foo
      bar
      baz
      (  # comment
        b
      )
    ```
    
    This may look ugly, but in real-world code it should be sufficiently rare. Most of the time, moving comments up already
    happens and thus eliminates a lot of potential cases entirely. This is merely a fallback. Most of the time, the output
    code will look like this instead:
    
    ```nix
    foo
      bar
      baz
      # comment
      (b)
    ```
    
    The double space before a trailing comment is most likely to occur with single-letter identifiers.
    piegamesde committed Dec 1, 2023
    Configuration menu
    Copy the full SHA
    27ce996 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    21ef16e View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2023

  1. Configuration menu
    Copy the full SHA
    fda8afa View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2023

  1. Revert "List, Attrset: Remove surrounding spaces"

    This reverts commit 206653b.
    piegamesde committed Dec 13, 2023
    Configuration menu
    Copy the full SHA
    0a8c246 View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2024

  1. Configuration menu
    Copy the full SHA
    35da232 View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2024

  1. Lists: Fix absorbtion rules

    For some reasons instead of one condition it was split into two conditions, which covered everything necessery minus one edge case
    piegamesde committed Jan 8, 2024
    Configuration menu
    Copy the full SHA
    a273e5a View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2024

  1. Configuration menu
    Copy the full SHA
    070063e View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2024

  1. Rework: with, paramAttr, bindings, parentheses

    - Bindings where the RHS is a parenthesized expression are now
      handled explicitly.
    - Function argument default values now use the same logic as
      bindings, making it prettier and more consistent.
    - Attribute sets in a `with` are now force-expanded in bindings.
      This is consistent with current attrset handling in bindings.
    - Improved parenthesized with statements.
    piegamesde committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    53c7361 View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2024

  1. Configuration menu
    Copy the full SHA
    067c281 View commit details
    Browse the repository at this point in the history
  2. Refactoring

    This should not change the output format
    piegamesde committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    d6930fd View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2024

  1. Configuration menu
    Copy the full SHA
    08fe739 View commit details
    Browse the repository at this point in the history
  2. Treat some parenthesized expressions as "simple"

    This allows force-compaction in more situations
    piegamesde committed Feb 4, 2024
    Configuration menu
    Copy the full SHA
    bb45962 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2024

  1. Strings: Don't normalize anymore

    Strings will not be treated as opaque and rendered exactly the way as in the input.
    piegamesde committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    a75658d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    543b65f View commit details
    Browse the repository at this point in the history
  3. Relax dependency version bounds

    Closes NixOS#130
    piegamesde committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    5ab9430 View commit details
    Browse the repository at this point in the history
  4. Update Nix dependencies

    piegamesde committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    887a40d View commit details
    Browse the repository at this point in the history
  5. Fix TypeOperators warning

    infinisil authored and piegamesde committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    6cfbc2c View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2024

  1. Improve multiline asserts

    We now render them the same way as functions
    piegamesde committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    bbe0ba5 View commit details
    Browse the repository at this point in the history
  2. Rework indentation handling

    The old nesting code and "base" functions are now gone. The new code will handle more things automagicalls.
    It also fixes some bugs that used to be there, but apart from that should not result in many changes.
    piegamesde committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    eb732b1 View commit details
    Browse the repository at this point in the history
  3. Small cleanup

    piegamesde committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    62b0c39 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d1067e4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7b1fcf5 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2024

  1. Add some tests

    piegamesde committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    a273a47 View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2024

  1. Configuration menu
    Copy the full SHA
    9ec2ac0 View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2024

  1. Configuration menu
    Copy the full SHA
    aa85d38 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d531cef View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8f4bf7e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3b95476 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    bcbf8c6 View commit details
    Browse the repository at this point in the history
  6. Fix indentation

    piegamesde committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    d6902b0 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6413a12 View commit details
    Browse the repository at this point in the history
  8. Fix parenthesized function application

    There was some weird edge case involving long lines and "simple" arguments
    piegamesde committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    6bd07b5 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    22fa00e View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2024

  1. Application: add some special cases

    Dunno too tired to properly describe them
    piegamesde committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    f7d9cfe View commit details
    Browse the repository at this point in the history
  2. Comments: use RFC style

    piegamesde committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    25792d4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2b5ee82 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2024

  1. Configuration menu
    Copy the full SHA
    7d99e0b View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2024

  1. 1 Configuration menu
    Copy the full SHA
    4eb99c1 View commit details
    Browse the repository at this point in the history
  2. Comply with REUSE

    infinisil committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    08b34c0 View commit details
    Browse the repository at this point in the history
  3. 2 Configuration menu
    Copy the full SHA
    f43ec86 View commit details
    Browse the repository at this point in the history
  4. Parser: Fix operator parsing

    Closes NixOS#122
    piegamesde authored and infinisil committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    8d13b59 View commit details
    Browse the repository at this point in the history