https://github.com/vrescobar/chatGPT-python-elm Skip to content Toggle navigation Sign up * Product + Actions Automate any workflow + Packages Host and manage packages + Security Find and fix vulnerabilities + Codespaces Instant dev environments + Copilot Write better code with AI + Code review Manage code changes + Issues Plan and track work + Discussions Collaborate outside of code + Explore + All features + Documentation + GitHub Skills + Blog * Solutions + For + Enterprise + Teams + Startups + Education + By Solution + CI/CD & Automation + DevOps + DevSecOps + Case Studies + Customer Stories + Resources * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles + Repositories + Topics + Trending + Collections * Pricing [ ] * # In this repository All GitHub | Jump to | * No suggested jump to results * # In this repository All GitHub | Jump to | * # In this user All GitHub | Jump to | * # In this repository All GitHub | Jump to | Sign in Sign up {{ message }} vrescobar / chatGPT-python-elm Public * Notifications * Fork 2 * Star 66 A repository fully generated by ChatGPT making it believed it checked out a this repository which I described like the first line of the README. 66 stars 2 forks Star Notifications * Code * Issues 0 * Pull requests 0 * Actions * Projects 0 * Security * Insights More * Code * Issues * Pull requests * Actions * Projects * Security * Insights vrescobar/chatGPT-python-elm This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. main Switch branches/tags [ ] Branches Tags Could not load branches Nothing to show {{ refName }} default View all branches Could not load tags Nothing to show {{ refName }} default View all tags Name already in use A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch? Cancel Create 1 branch 0 tags Code * Local * Codespaces * Clone HTTPS GitHub CLI [https://github.com/v] Use Git or checkout with SVN using the web URL. [gh repo clone vresco] Work fast with our official CLI. Learn more. * Open with GitHub Desktop * Download ZIP Sign In Required Please sign in to use Codespaces. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching Xcode If nothing happens, download Xcode and try again. Launching Visual Studio Code Your codespace will open once ready. There was a problem preparing your codespace, please try again. Latest commit @vrescobar vrescobar Update README.md ... 6d7bb19 Dec 4, 2022 Update README.md Some last typo correction on the README 6d7bb19 Git stats * 9 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time .gitignore that crazy shit chatGPT generated Dec 4, 2022 README.md Update README.md Dec 4, 2022 __init__.py that crazy shit chatGPT generated Dec 4, 2022 elm_lexer.py Last touches and adding warning note Dec 4, 2022 elm_parser.py Last touches and adding warning note Dec 4, 2022 elm_types.py that crazy shit chatGPT generated Dec 4, 2022 example.elm that crazy shit chatGPT generated Dec 4, 2022 llvm_gen.py that crazy shit chatGPT generated Dec 4, 2022 ls-lah.txt that crazy shit chatGPT generated Dec 4, 2022 main.py that crazy shit chatGPT generated Dec 4, 2022 parsetab.py Last touches and adding warning note Dec 4, 2022 repl.py that crazy shit chatGPT generated Dec 4, 2022 requirements.txt that crazy shit chatGPT generated Dec 4, 2022 test_elm_lexer.py that crazy shit chatGPT generated Dec 4, 2022 test_elm_parser.py that crazy shit chatGPT generated Dec 4, 2022 View code Elm-python Features Usage Roadmap License README.md EDIT: There were some typos which someone kindly corrected in a pull request. As I had to run for the next train I had no time to properly document the process. I posted in this twitt some of the screenshots I casually took during the process screenshots: Screenshots NOTE: Everything this repository with the exception of this own note has been generated entirely with chatGPT and asked gradually how to correct or refactor each one of the errors that showed up on the terminal. For that I followed as guidelines these both articles: Building A Virtual Machine inside ChatGPT Building an interpreter for my own programming language in ChatGPT It took me around two hours, where ChatGPT was the main pilot and I became the copilot, trying to run the project and asking GPT to refactor the parts of the code that didn't run, showing the console output mistake and how would it fix the given function etc. I could ask to change the tests form unittest to pytest and similar tasks... and it did so, The files I ask it to "cat" them and just copied them on my filesystem. The language doesn't completely run, but it was just a two-hour experiment. The day GPT is the pilot and humans become the copilot in a pair programming role is almost here. Actual generated README code begins here: --------------------------------------------------------------------- Elm-python Elm-python is an experimental programming language. It takes inspiration from Clojure and Elm, and is implemented in Python. It compiles to LLVM. Features * Immutable data structures * First-class functions * Pattern matching * Algebraic data types Usage Run the REPL: $ python3 -m elm_python.repl Copy code Compile a file: $ python3 -m elm_python.main my_program.elm Copy code Run tests: $ pytest Copy code Roadmap * Type inference * Compiler optimizations * Standard library License MIT All the python code lines are: ls -1 *.py|cat|wc -l About A repository fully generated by ChatGPT making it believed it checked out a this repository which I described like the first line of the README. Resources Readme Stars 66 stars Watchers 1 watching Forks 2 forks Releases No releases published Packages 0 No packages published Contributors 3 * @vrescobar vrescobar vrescobar * @artcg artcg Arthur * @abatilo abatilo Aaron Batilo Languages * Python 96.9% * Elm 3.1% Footer (c) 2022 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact GitHub * Pricing * API * Training * Blog * About You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.