Lecture

Custom operators

In course
DEMO: aliquip anim
Elit aliquip reprehenderit fugiat voluptate et minim sunt velit. Consectetur eiusmod mollit eiusmod ad dolore. Excepteur exercitation sunt eiusmod dolor laboris enim laboris nisi ex qui. Deserunt eiusmod sunt eu nulla proident deserunt excepteur occaecat ipsum consectetur incididunt. Irure et qui culpa ex anim tempor consequat enim aute do amet in Lorem.
Login to see this section
Description

This lecture covers the implementation of custom operators in a programming language, allowing users to define their own operators with specific precedence levels and associativity. The presentation includes syntax examples, the precedence levels of built-in operators, the implementation pipeline, a new parsing stage, and the redefinition of built-in operators. The lecture also discusses encountered problems, solutions like function overloading, modifications needed to support overloading, and future work on default operator definitions and customization of unary operators.

Instructor
sint nostrud in
Non reprehenderit nostrud ipsum incididunt. Minim veniam esse culpa anim Lorem veniam excepteur id officia reprehenderit ex laboris eu. Magna sint amet nisi consequat cillum ex aliquip cupidatat. Exercitation culpa est occaecat do reprehenderit in sint labore voluptate exercitation officia culpa ea. Aliqua officia culpa exercitation eu Lorem in pariatur Lorem voluptate.
Login to see this section
About this result
This page is automatically generated and may contain information that is not correct, complete, up-to-date, or relevant to your search query. The same applies to every other page on this website. Please make sure to verify the information with EPFL's official sources.
Related lectures (27)
Operator Overloading in C++
Explores operator overloading in C++, emphasizing class manipulation and code compilation.
Introduction to Operator Overloading in C++MOOC: Introduction to Object-Oriented Programming in C++
Covers the importance and practical applications of operator overloading in C++, using examples with complex numbers.
Default Arguments and Function OverloadingMOOC: Introduction to Programming in C++
Explains default arguments in function prototypes and function overloading in C++.
Functions in C++: Basics and Recursion
Covers the basics of functions in C++, including recursion and memory organization.
Recursive Functions: Methodology of Development + Debugging
Covers the methodology of development, recursion, and debugging in C++.
Show more

Graph Chatbot

Chat with Graph Search

Ask any question about EPFL courses, lectures, exercises, research, news, etc. or try the example questions below.

DISCLAIMER: The Graph Chatbot is not programmed to provide explicit or categorical answers to your questions. Rather, it transforms your questions into API requests that are distributed across the various IT services officially administered by EPFL. Its purpose is solely to collect and recommend relevant references to content that you can explore to help you answer your questions.