{"id":23226765,"url":"https://github.com/luisfelipepoma/dot_translate","last_synced_at":"2026-04-26T12:31:59.090Z","repository":{"id":197646271,"uuid":"699050085","full_name":"LuisFelipePoma/DOT_Translate","owner":"LuisFelipePoma","description":"Basic translation app for DOT language.","archived":false,"fork":false,"pushed_at":"2023-10-01T19:28:55.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-11T14:46:23.852Z","etag":null,"topics":["antlr4","compiler","cpp","dotlang","graph"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LuisFelipePoma.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-10-01T19:11:17.000Z","updated_at":"2024-10-11T22:07:37.000Z","dependencies_parsed_at":"2023-10-01T23:18:18.610Z","dependency_job_id":null,"html_url":"https://github.com/LuisFelipePoma/DOT_Translate","commit_stats":null,"previous_names":["luisfelipepoma/dottranslate","luisfelipepoma/dot_translate"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LuisFelipePoma%2FDOT_Translate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LuisFelipePoma%2FDOT_Translate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LuisFelipePoma%2FDOT_Translate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LuisFelipePoma%2FDOT_Translate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LuisFelipePoma","download_url":"https://codeload.github.com/LuisFelipePoma/DOT_Translate/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247378079,"owners_count":20929291,"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":["antlr4","compiler","cpp","dotlang","graph"],"created_at":"2024-12-19T00:19:24.589Z","updated_at":"2026-04-26T12:31:59.050Z","avatar_url":"https://github.com/LuisFelipePoma.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DOT Language to Adjacency List\n---\n## How to use\n### Install Java\n\n- Install via CLI\n\n  1. [ArchLinux](https://www.tecmint.com/install-java-on-arch-linux/)\n   \n\t* Now we are going to install the latest version of JRE\n\t\t```bash\n\t\tsudo pacman -S jre-openjdk\n\t\t```\n\n\t* Now we are going to install the latest version of JDK\n\t\t```bash\n\t\tsudo pacman -S jdk-openjdk\n\t\t```\n   2. Others\n\t\t```bash\n\t\tsudo apt install openjdk-XX-jdk\n\t\tsudo apt install openjdk-XX-jre\n\t\t```\n\t\t\u003eInstall the latest available version for your distro\n\n### Install Antlr\n1. Installation\n   * Create a virtual enviroment\n\t\t```bash\n\t\tpython -m venv /path/to/new/virtual/environment\n\t\t```\n   \n   * Install Antlr using the file `requirements.txt`\n\t\t```bash\n\t\tpip install -r requirements.txt\n\t\t```\n   \n   * Verify installation\n\t\t```bash\n\t\tantlr\n\t\t```\n  \n### Usage\n   \n   * Create the script `setup.sh`.\n\n\t\t```sh\n\t\t#!/usr/bin/sh\n\n\t\tsetup(){\n\t\t\tlocal venvpath=\"$HOME/path/to/env\"\n\n\t\t\tsource \"${venvpath}/bin/activate\"\n\t\t\t\n\t\t\texport CLASSPATH=.:~/.m2/repository/org/antlr/antlr4/4.13.1/antlr4-4.13.1-complete.jar:$CLASSPATH\n\t\t\talias grun='java org.antlr.v4.gui.TestRig'\n\t\t}\n\n\t\tsetup\n\t\t```\n   * Execute the script\n\t\t```bash\n\t\tsource setup.sh\n\t\t```\n\n   * Now we compile boths files.\n\t\t```bash\n\t\t~ antlr4 -no-listener -visitor DotExpr.g4 \n\t\t```\n\n   * With `javac` we compile the java codes generated.\n\t\t```bash\n\t\tjavac *.java\n\t\t```\n\n   * If we want to see the gui, run Antlr with `grun`\n\t\t```bash\n\t\tgrun DotExpr graph -gui\n        ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluisfelipepoma%2Fdot_translate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluisfelipepoma%2Fdot_translate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluisfelipepoma%2Fdot_translate/lists"}