{"id":28200167,"url":"https://github.com/hernandemonteiro/new_rust_typescript","last_synced_at":"2025-10-06T12:07:13.734Z","repository":{"id":292630399,"uuid":"981468748","full_name":"hernandemonteiro/new_rust_typescript","owner":"hernandemonteiro","description":"Typescript with RUST","archived":false,"fork":false,"pushed_at":"2025-05-11T08:02:47.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-18T16:51:12.470Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hernandemonteiro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-11T07:11:54.000Z","updated_at":"2025-05-11T08:02:51.000Z","dependencies_parsed_at":"2025-05-11T08:23:45.626Z","dependency_job_id":"b385cdf3-bcde-4ff3-93e1-b25620287ca5","html_url":"https://github.com/hernandemonteiro/new_rust_typescript","commit_stats":null,"previous_names":["hernandemonteiro/new_rust_typescript"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hernandemonteiro/new_rust_typescript","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hernandemonteiro%2Fnew_rust_typescript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hernandemonteiro%2Fnew_rust_typescript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hernandemonteiro%2Fnew_rust_typescript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hernandemonteiro%2Fnew_rust_typescript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hernandemonteiro","download_url":"https://codeload.github.com/hernandemonteiro/new_rust_typescript/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hernandemonteiro%2Fnew_rust_typescript/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259447394,"owners_count":22859042,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-16T20:10:51.300Z","updated_at":"2025-10-06T12:07:13.635Z","avatar_url":"https://github.com/hernandemonteiro.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# New Rust TypeScript\n\nEste projeto é uma implementação de uma linguagem de programação interpretada inspirada no TypeScript, utilizando Rust como linguagem base. O objetivo é criar uma linguagem simples, com suporte a variáveis, operações aritméticas, funções básicas e impressão de valores.\n\n## Funcionalidades\n\n- **Atribuição de variáveis**: Suporte para declarar e atribuir valores a variáveis.\n- **Operações aritméticas**: Suporte para soma, subtração, multiplicação e divisão.\n- **Funções básicas**: Implementação de uma função `print` para exibir valores no console.\n- **Interpretação de código**: O código é analisado, transformado em uma AST (Abstract Syntax Tree) e interpretado em tempo de execução.\n\n## Estrutura do Projeto\n\n- `src/ast.rs`: Define a estrutura da AST (Abstract Syntax Tree) usada para representar o código.\n- `src/lexer.rs`: Implementa o analisador léxico (tokenizador) para dividir o código em tokens.\n- `src/parser.rs`: Implementa o analisador sintático para transformar os tokens em uma AST.\n- `src/interpreter.rs`: Implementa o interpretador que executa a AST.\n- `src/main.rs`: Ponto de entrada do programa, responsável por integrar todas as partes.\n\n## Exemplo de Código\n\n```typescript\nlet x = 10 + 2;\nprint(x);\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhernandemonteiro%2Fnew_rust_typescript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhernandemonteiro%2Fnew_rust_typescript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhernandemonteiro%2Fnew_rust_typescript/lists"}