Writing a Type-Inferring Compiler: From Conditionals to Functions — LearnFlat
⏱ 2 h 54 min 📚 29 aulas

Writing a Type-Inferring Compiler: From Conditionals to Functions

Learn how to build a compiler that automatically deduces types, starting with basic conditionals and expanding to complex function declarations.

  • 💬 Instrutor de IA
    Pergunte sobre qualquer aula e receba uma resposta clara na hora, quando quiser.
  • 🕐 Comece quando quiser
    Sem horários nem prazos: aprenda no seu ritmo, quando quiser.
  • 🌐 Em português
    Aulas, tarefas e certificado: tudo totalmente no seu idioma.

Sobre este curso

Understanding how programming languages automatically determine types without explicit annotations can feel like magic. This text-based course demystifies type inference by guiding you through the mechanics of building a compiler that understands types on its own. You will transition from writing simple parsers to designing an intelligent compiler that analyzes control flow and function definitions. By studying the core algorithms of type deduction, you will gain a deep appreciation for language design and type safety, enabling you to build more robust software tools. What you'll learn: Understand the fundamentals of type systems, AST representations, and type deduction rules; Implement type inference for conditional statements to resolve branch types automatically; Design type-checking algorithms for function declarations and recursive function calls; Apply modern error-handling patterns to report clear and actionable type mismatch errors; Practice translating abstract typing rules into clean, structured compiler code. The course begins with foundational concepts of type theory and AST construction before moving step-by-step through inferring conditionals, handling variable declarations, and resolving complex function signatures. This course is designed for programmers new to compiler development who want to understand type systems from the ground up, with no prior compiler-writing experience required. Start reading today to unlock the inner workings of modern type-inferring compilers.

O que você vai receber

  • 📜 Certificado de conclusão
    Adicione ao seu perfil do LinkedIn
  • 💬 Tutor AI pessoal
    Travou em uma aula? Pergunte ao seu tutor integrado qualquer coisa, a qualquer hora.
  • ♾️ Acesso vitalício
    Volte quando quiser, sem expirar
  • 📱 Celular ou computador
    Funciona em qualquer dispositivo
  • 💸 Reembolso em 14 dias
    Sem perguntas
  • Curto e focado
    2 h 54 min de conteúdo prático

Avaliações

Ainda não há avaliações — seja o primeiro a compartilhar sua experiência.

Escrever uma avaliação

Pediremos para fazer login após enviar — o rascunho fica salvo.

Outros também fizeram

Perguntas frequentes

O que preciso para fazer este curso? +

Só um celular ou computador com internet. Sem instalações nem hardware especial.

Como faço para pagar? +

Com cartão via Stripe. Não guardamos dados do cartão — o Stripe processa com segurança.

Posso pedir reembolso? +

Sim — reembolso integral em 14 dias, sem perguntas.

Por quanto tempo terei acesso? +

Para sempre. Uma vez comprado, o curso é seu para revisar quando quiser.

Vou receber um certificado? +

Sim. Ao concluir, você recebe um certificado que pode adicionar ao seu perfil do LinkedIn.

Feito para profissionais em
Tecnologia Design Finanças Marketing Saúde Educação Hotelaria Indústria