Writing a Language Server in OCaml for Emacs - Fun and Profit
Offered By: EmacsConf and Emacs hangouts via YouTube
Course Description
Overview
Explore the world of language servers in this EmacsConf 2023 talk, focusing on writing one in OCaml for Emacs. Learn about Semgrep, the Language Server Protocol, and how to show security bugs early in development. Dive into a case study of Rust Analyzer, understanding its benefits and applications. Discover the technical aspects of language server communication, LSP capabilities, and tips for writing your own. Follow along as the speaker demonstrates how to support a language server through LSP mode in Emacs, create a client, add it to the list of client packages, and incorporate documentation. Gain insights on adding custom commands and capabilities to enhance your Emacs experience with language servers.
Syllabus
Introduction
What is Semgrep?
How do we show security bugs early?
What is the Language Server Protocol?
Case study: Rust Analyzer
Rust Analyzer in action
Why is this useful?
So what about Emacs?
Technical part - Brief communication overview
Example request
LSP capabilities
Tips on writing a LS
Supporting a LS through LSP mode in Emacs
Create a client
Add to list of client packages
Add documentation!
Adding commands and custom capabilities
Thanks for listening
Taught by
EmacsConf and Emacs hangouts
Related Courses
Introduction to Functional Programming in OCamlParis Diderot University via France Université Numerique Type-Driven Development: Designing with Types
Pluralsight ReasonML Programming - Full Course for Beginners
freeCodeCamp OCaml
Exercism ReasonML
Exercism