~/talk

Source code manipulation (...)

Talkat JDD 2019 · 2019-10-14..10-15· [compilers-and-language-design]
links:none on file
slides:none on file

Shows concrete source-code changes: remove console.log/System.out.println calls, refactor snake_case to camelCase across variables/functions, and convert string concatenations into Java 13 text blocks. Uses an antler grammar to generate lexer/parser, walks the AST with enter/exit listeners, and emits replacements — often just three lines of code to perform a transformation. Demonstrates working JavaScript examples (fast with AST tooling) and a Java pipeline that runs on actual files; Java needs more grammar and state but the conversions succeed.

AI-written summary · about

  1. 0:00Introduction to source code manipulation
  2. 1:34Removing console.log in JavaScript
  3. 5:55Refactoring variable names to camelCase
  4. 9:06Abstract syntax tree explained
  5. 12:44Challenges in Java source manipulation
  6. 17:35Lexer and parser with ANTLR
  7. 21:53Snake case to camelCase in Java
  8. 24:35Converting strings to text blocks
  9. 27:29Code transformation use cases
  10. 33:12Automating test case reporting
  11. 35:42ANTLR vs BNF for performance
  12. 36:48Resources and closing
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.