1. 21 Aug, 2019 1 commit
  2. 28 Jan, 2019 1 commit
  3. 25 Jan, 2019 3 commits
  4. 21 Jan, 2019 1 commit
  5. 17 Jan, 2019 3 commits
  6. 16 Jan, 2019 3 commits
  7. 21 Nov, 2018 1 commit
  8. 20 Nov, 2018 1 commit
  9. 18 Nov, 2018 4 commits
  10. 17 Nov, 2018 1 commit
  11. 16 Nov, 2018 2 commits
    • Olly Betts's avatar
      Allow runtime/api.h to be used in C++ code · eac8be4d
      Olly Betts authored
      Conditionally add extern "C" { ... } around the function declarations
      for C++ compilers.
      
      Closes #90, reported by vvarma.
      eac8be4d
    • Olly Betts's avatar
      Use "substring" in kraaij_pohlmann stemmer · 1d5f4d40
      Olly Betts authored
      Make this stemmer use the same construct as the others:
      
          [substring] among (
              // cases
          )
      
      rather than:
      
          [among ( (])
              // cases
          )
      
      The second version seems more cryptic, and I suspect dates back to
      before substring was added to the language.
      
      Both result in almost identical code being generated - aside from
      different comments, the only difference is that the new version avoids
      an interim assignment to among_var in one case which is arguably better
      though the compiler will probably optimise both versions to the same
      machine code.
      1d5f4d40
  12. 14 Nov, 2018 1 commit
  13. 09 Nov, 2018 10 commits
  14. 08 Nov, 2018 1 commit
    • Olly Betts's avatar
      Handle 4-byte UTF-8 sequences · 496d1882
      Olly Betts authored
      Previously 'hop' and 'next' handled sequences of any length, but
      commands which look at the character value only handled sequences up to
      length 3.
      
      Fixes #89.
      496d1882
  15. 31 Oct, 2018 2 commits
    • Olly Betts's avatar
      Use more sensible initial input buffer size · f5d9bcf7
      Olly Betts authored
      Snowball programs are typically a few KB in size (with the current
      largest we ship being the Arabic stemmer at 17.1KB) so starting with
      a 10 byte input buffer and increasing its size by 50% plus 40 bytes
      each time it fills is inefficient - it needs up to 14 reallocations to
      load the sources for the stemmers we ship.
      
      Instead start at 8192 bytes and double the size each time we fill it.
      f5d9bcf7
    • Olly Betts's avatar
      Consistently omit space before postfix ++ · 06bac0b6
      Olly Betts authored
      06bac0b6
  16. 30 Oct, 2018 2 commits
  17. 29 Oct, 2018 3 commits