Majestic Lisp book and implementation, in Brazillian Portuguese.

Overview

Majestic Lisp

Criado e desenvolvido por Lucas S. Vieira <lucasvieira at protonmail dot com>.

Seja bem-vindo(a) a Majestic Lisp, um dialeto de Lisp cujo interpretador foi construído usando a linguagem Rust, através de um método conhecido como literate programming (aqui traduzido livremente como programação instruída.

O objetivo desse projeto é a construção de um livro que exponha, em forma de prosa, a implementação da aplicação, com blocos de código fazendo papel de acompanhamento.

Isso inverte a ideia de comentar código que é escrito: em vez disso, codificamos as ideias que são comentadas.

Veja que este projeto ainda está no início, o que significa que você ainda verá inconsistências e, por vezes, blocos de código sem descrição apropriada. Ainda assim, sinta-se em casa para explorar o projeto.

Você poderá encontrar o código separado no repositório. Caso queira contribuir, certifique-se de que editar apenas os arquivos .org; nenhum arquivo de código deverá ser editado diretamente.

Execução do projeto no browser

NOVO! Você poderá agora executar o projeto em sua versão mais estável através do WebAssembly.sh. Para tanto, acesse o site e, no console que abre, digite:

wapm install luksamuk/majestic-lisp
majestic

O projeto ainda é um pouco delicado, e por enquanto pede input através de uma janela no console, mas você poderá utilizá-lo como teste.

Licenciamento

Este projeto utiliza a licença MIT. Veja o repositório para mais detalhes.

Conteúdo

Agradecimentos

  1. Introdução
  2. Sintaxe da linguagem
  3. Configurando o projeto
  4. Núcleo da linguagem
  5. Axiomas
  6. Impressão
  7. Leitor de expressões
    • Parser
    • Tokenizador
  8. Interpretador
  9. Ponto de entrada
  10. Testes

Apêndices

You might also like...
Complete code for the larger example programs from the book.

Code Examples for Programming Rust This repository contains complete code for the larger example programs from the book “Programming Rust”, by Jim Bla

Rust crate to implement a counterpart to the PBRT book's (3rd edition) C++ code.
Rust crate to implement a counterpart to the PBRT book's (3rd edition) C++ code.

Rust crate to implement a counterpart to the PBRT book's (3rd edition) C++ code.

Learn programming with Rust as a first language (book)

Learn programming with Rust as first language This is a book to learn programming from scratch. Read the book here: https://deavid.github.io/lprfl/ LI

An implementation of Olm and Megolm in pure Rust.

A Rust implementation of Olm and Megolm vodozemac is a Rust implementation of libolm, a cryptographic library used for end-to-end encryption in Matrix

fast rust implementation of online nonnegative matrix factorization as laid out in the paper "detect and track latent factors with online nonnegative matrix factorization"

ONMF status: early work in progress. still figuring this out. code still somewhat messy. api still in flux. fast rust implementation of online nonnega

An implementation of a predicative polymorphic language with bidirectional type inference and algebraic data types

Vinilla Lang Vanilla is a pure functional programming language based on System F, a classic but powerful type system. Merits Simple as it is, Vanilla

A radix tree implementation for router, and provides CRUD operations.

radixtree A radix tree implementation for router, and provides CRUD operations. Radixtree is part of treemux, on top of which updates and removes are

A fast lean and clean modern constraint programming solver implementation (in rust)

MaxiCP-rs This project aims at implementing a fast, and clean constraint programming solver with a focus on correctness, simplicity, maintainability a

Rust implementation of Andrej Karpathy's micrograd for purposes of learning both ML and Rust.

micrograd_rs Rust implementation of Andrej Karpathy's micrograd for purposes of learning both ML and Rust. Main takeaways Basically the same takeaways

Owner
Lucas Vieira
Developer, CogSci researcher. Information Systems student @ UFVJM.
Lucas Vieira
A simplistic functional programming language based around Lisp syntax.

Orchid A simplistic functional programming language based around Lisp syntax. Short taste # function to return the larger list (fn larger-list (as bs)

rem 3 May 7, 2022
Embeddable tree-walk interpreter for a "mostly lazy" Lisp-like scripting language.

ceceio Embeddable tree-walk interpreter for a "mostly lazy" Lisp-like scripting language. Just a work-in-progress testbed for now. Sample usage us

Vinícius Miguel 7 Aug 18, 2022
High Assurance Rust - A free book about developing secure and robust systems software.

High Assurance Rust - A free book about developing secure and robust systems software.

Tiemoko Ballo 1.1k Nov 23, 2022
This repository contains the source of "The Rust Programming Language" book.

The Rust Programming Language This repository contains the source of "The Rust Programming Language" book. The book is available in dead-tree form fro

The Rust Programming Language 10.7k Nov 27, 2022
A library for extracting #[no_mangle] pub extern "C" functions (https://docs.rust-embedded.org/book/interoperability/rust-with-c.html#no_mangle)

A library for extracting #[no_mangle] pub extern "C" functions In order to expose a function with C binary interface for interoperability with other p

Dmitrii - Demenev 0 Feb 17, 2022
clone of grep cli written in Rust. From Chapter 12 of the Rust Programming Language book

minigrep is a clone of the grep cli in rust Minigrep will find a query string in a file. To test it out, clone the project and run cargo run body poem

Raunak Singh 1 Dec 14, 2021
The ray tracer challenge in rust - Repository to follow my development of "The Raytracer Challenge" book by Jamis Buck in the language Rust

The Ray Tracer Challenge This repository contains all the code written, while step by implementing Ray Tracer, based on the book "The Ray Tracer Chall

Jakob Westhoff 53 Oct 29, 2022
Book - Actix user guides

User guides Actix User Guide Actix API Documentation (Development) Actix API Documentation (Releases) Actix Web User Guide Actix Web API Documentation

Actix 185 Nov 28, 2022
Source code for the book Rust in Action

Welcome to Rust in Action source code This source code repository is a companion to the Rust in Action book available from Manning Publications. Suppo

Rust in Action 1.3k Nov 25, 2022
Code to follow along the "Zero To Production" book on API development in Rust.

Zero To Production / Code (Chapter 10 - Part 1) Zero To Production In Rust is an opinionated introduction to backend development using Rust. This repo

Luca Palmieri 2.7k Nov 28, 2022