How To Parse A File & Kotlin For The Curious

button-icon-arrow-right
button-icon-arrow-left

button-icon-arrow-leftBack

Event

How to parse a file & Kotlin for the curious

8 January 2019

Sheffield

Added 01-Jan-1970

This event will be broken down into 2 talks, "How to parse a file" and "Kotlin for the curious" both being presented by Matt Ellis.

**How to parse a file**

Yes, we're going to look at file parsing. Sounds a bit boring, right? Wrong.

In this talk, just for fun, we'll find out how to parse a file. We'll look at simple, handcrafted parsers. We'll finally figure out just how lex and yacc work. And we'll pick apart structured parsers that build abstract syntax trees as you type - ReSharper style. How is an IDEs parser different to a compiler? How do you handle sensible error recovery? What about significant whitespace?

Everything you always wanted to know about parsing a file, but were too afraid to ask.

**Kotlin for the curious**

Interested in Kotlin? And why not - it’s a pragmatic language designed to remove ceremony, solve real world problems and still feel familiar to newcomers. It can target the JVM, Android, JavaScript and native code, even running on iOS. That’s a lot of reach for a single programming language.

In this talk, we’ll go on a high level, introductory tour of Kotlin - how to get up and running, what Kotlin looks like, and how to write idiomatic, concise code - functional or object oriented. We’ll look at data classes, top level and first class functions, inlining, null safety and more, including the design decisions behind some of the language choices. We’ll see how you can build DSLs, with examples from Android and HTML, and look at how we can build multi-platform projects. And we’ll take a look at coroutines, Kotlin’s answer to C#’s async/await.

Top