Code

History

Commits on CacheMyWorkingCopy to cli/src/template_builder.rs35+
  1. templater: unimplement Default for TestTemplateEnvYuya Nishihara committed 2 years ago56f1b36
  2. templater: leverage GenericTemplateLanguage in testsYuya Nishihara committed 2 years ago4c62f46
  3. templater: add helper function that does parse() + build()Yuya Nishihara committed 2 years agoe1669f0
  4. templater: relax "L: TemplateLanguage" bounds to not require sized objectYuya Nishihara committed 2 years ago26cce21
  5. template_builder: support extending the core template build fn tabledploch committed 2 years ago18670ff
  6. templater: add string.len() and list.len() methodsYuya Nishihara committed 2 years ago82b3017
  7. templater: make .substr() be byte-index based, round towards originYuya Nishihara committed 2 years ago0656409
  8. templater: extract fallible i64->isize conversion to helper functionYuya Nishihara committed 2 years ago0831ed0
  9. templater: propagate <out-of-range date> as an errorYuya Nishihara committed 2 years ago1d4860c
  10. templater: use cached current timestamp to calculate .ago()Yuya Nishihara committed 3 years ago2007b9b
  11. templater: turn some integer overflow into evaluation errorYuya Nishihara committed 2 years ago26c182a
  12. templater: make property functions return resultYuya Nishihara committed 2 years ago0519954
  13. templater: add runtime error type and propagation pathYuya Nishihara committed 2 years ago42aa5f0
  14. templater: add similarity hint to no such method/keyword errorsYuya Nishihara committed 2 years ago71a9dc8
  15. templater: move build_core_method() to table objectYuya Nishihara committed 2 years agoa235aa5
  16. templater: migrate core template methods to symbol tableYuya Nishihara committed 2 years agobdbb2de
  17. templater: extract substr() method body to functionYuya Nishihara committed 2 years agoe1864d9
  18. templater: extract generic type aliases for method build fn and tableYuya Nishihara committed 2 years ago10acfdc
  19. templater: add special "self" variable to refer to top-level objectYuya Nishihara committed 2 years ago7525fac
  20. templater: translate keywords to "self" methods by core template engineYuya Nishihara committed 2 years agoe80b906
  21. templater: update test templater to be compatible with "self" methodsYuya Nishihara committed 2 years ago6e5eff5
  22. templater: add a local() method on Timestamps (#2900)Martin von Zweigbergk committed 2 years ago7c5cfa7
  23. templater: parse negative integer as unary operator and literalYuya Nishihara committed 2 years agoe943a5b
  24. templater: retain "++" in parsed tree to provide better error indicationYuya Nishihara committed 2 years ago406f2b6
  25. templater: translate symbol rules in error messageYuya Nishihara committed 2 years agofd4c5a6
  26. templater: evaluate logical operator expressions (||, &&, and !)Yuya Nishihara committed 2 years ago948129e
  27. templater: parse logical operators (||, &&, and !)Yuya Nishihara committed 2 years ago88a1729
  28. templater: add surround(prefix, suffix, content) functionYuya Nishihara committed 2 years ago026a72d
  29. formatter: reset colors on early dropMartin von Zweigbergk committed 3 years ago46a8afe
  30. templater: allow implicit list-to-boolean castYuya Nishihara committed 3 years agob30d5bf
  31. templater: match exhaustively in boolean cast functionYuya Nishihara committed 3 years ago38d6000
  32. tests: migrate most tests from test_templater.rsYuya Nishihara committed 3 years ago2874a69
  33. tests: use color formatter in core template testsYuya Nishihara committed 3 years ago957360d
  34. tests: add minimal template language and test helpersYuya Nishihara committed 3 years ago96f8ca5
  35. templater: add boolean literalsYuya Nishihara committed 3 years ago4394bf8