1. 25 Jan, 2019 5 commits
    • berumuron's avatar
      tec: Refactor BoopsySyntaxError calls · e559b396
      berumuron authored
      e559b396
    • berumuron's avatar
      add: Add support for `if` and `for` in Boopsy · faca8199
      berumuron authored
      faca8199
    • berumuron's avatar
      tec: Improve implementation of Boopsy · b7bdd945
      berumuron authored
      We now create a full mini Python program to manage all the template
      rendering. It will help to manage `if` and `for` statements.
      
      The `Code` class hides the indentation complexity and execution.
      b7bdd945
    • berumuron's avatar
      Extract a Code class from Template · fc5c65b0
      berumuron authored
      This class will help us to manage indentation later and hide complexity
      of the code execution.
      fc5c65b0
    • berumuron's avatar
      Change implementation of Boopsy · 313754f8
      berumuron authored
      Instead of creating a `rendering` variable directly in our `render`
      method, we create a mini Python program which is evaluated by an `exec`
      function.
      
      It will be helpful to handle the `if` and `for` statements because we
      will be able to rely on the Python interpretor behaviour to manage the
      variable scopes.
      
      It is probably not the most elegant nor the most secure way to do it,
      but it's the cheapest one and it's fine in our situation.
      313754f8
  2. 19 Jan, 2019 1 commit
  3. 11 Jan, 2019 9 commits
  4. 09 Jan, 2019 1 commit
  5. 28 Dec, 2018 1 commit
    • berumuron's avatar
      imp: Don't consider folder in article slug · f354bf7d
      berumuron authored
      Articles needed to be under ./articles folder. They can now be under an
      arbitrary subfolder (to order files), the slug is only based on the
      filename (and not its path).
      f354bf7d
  6. 26 Dec, 2018 2 commits
  7. 13 Dec, 2018 3 commits
  8. 12 Dec, 2018 18 commits