An IDE made completely in python. This took me some time to make, and how to following features
Debugging
Saving your work
Running your code
Lexing
auto-suggest from history
Suggestion bar thing that shows the keywords (global keyword not included)
What ill be adding soon:
Function key inputs (press f1 for this or that)
Language support for more languages
Note: You have to add a new line to the end of your current line in order for it run/save the last line of your code. You also have to press control-c in order to go down into the menu
If you have any suggestions, let me know in the comments. @bramley helped make the thing and did some bug testing.
update 0.0.7:
Runs on both linux and windows. (for windows, I will provide an EXE)
Support for raku/perl 6, although running it is broken. If you know how to fix, let me know.
update 0.0.8:
SH/bash files are now supported
Lexing now added for bash
Upcoming: Examples, and opening files, along with external python packages
update 0.0.9:
support for javascript / node.js (@PdanielY you requested this). It cannot be ran however
Lexing for javascript/node.js
Now accepting new languages. In order for a language to be added, it has to pass the following criteria: 1. Be able to be executed in the shell 2. Be able to run in the shell Example: python can be executed in the shell, by running a. exec(*insert commands*) or b. python insert file name here
@TaylorLiang wow that's actually really good. Someone that would be nice is string interpolation (like python's f-strings) for Raku. Not necessary but wouldn't be all that difficult (?). Awesome job tho
[deleted]
@theangryepicbanana I dont know how to add string interpolation to extra languages.
@TaylorLiang ah gotcha. what you'd basically have to do is add interpolation rules that come into effect after strings are highlighted (if that makes any sense)
[deleted]
@theangryepicbanana I have no idea what that means. Also, right now im trying to support bash. (oh, and do you know how to run it? I says its not a command)
@TaylorLiang ohhh you know what? I don't think the python repls come with raku. afaik polygott has all the languages available on repl.it, so if you'd like you could move your project to a polygott repl
:0 its on trending how
ok, why do you people enjoy this?
am i using the src folder properly?
An IDE made completely in python. This took me some time to make, and how to
following features
What ill be adding soon:
Note: You have to add a new line to the end of your current line in order for it run/save the last line of your code. You also have to press control-c in order to go down into the menu
If you have any suggestions, let me know in the comments.
@bramley helped make the thing and did some bug testing.
update 0.0.7:
update 0.0.8:
update 0.0.9:
Now accepting new languages. In order for a language to be added, it has to pass the following criteria:
1. Be able to be executed in the shell
2. Be able to run in the shell
Example:
python can be executed in the shell, by running a.
exec(*insert commands*)
or b. python insert file name herealso, maybe .bat file's coming soon
Add Raku and I will upvote ;)
@theangryepicbanana whats raku
@TaylorLiang Raku is a highly capable language with tons of cool features that I use (on my computer and here on repl.it)
@theangryepicbanana is there any way to execute it on the shell? (like python foo.py)
@TaylorLiang
perl6 program.p6
runs a file andperl6 -e "..."
runs a line of code@theangryepicbanana ok. ill add it tomorrow! can you also provide the keywords for it (for suggestions) exculding global if it has it
@TaylorLiang well Raku has a notably extensive amount of builtins, but https://docs.raku.org/language/syntax should give you a basic idea of what is in the language
@theangryepicbanana thanks
@TaylorLiang no problem. there's also a quick python-to-raku guide if that'd help since it compares some of python's syntax to raku's
@theangryepicbanana Raku support added! Just type in p6 as a file extension at the beginning, and begin coding!
edit: wont work. fixing
@TaylorLiang wow that's actually really good. Someone that would be nice is string interpolation (like python's f-strings) for Raku. Not necessary but wouldn't be all that difficult (?). Awesome job tho
@theangryepicbanana I dont know how to add string interpolation to extra languages.
@TaylorLiang ah gotcha. what you'd basically have to do is add interpolation rules that come into effect after strings are highlighted (if that makes any sense)
@theangryepicbanana I have no idea what that means. Also, right now im trying to support bash. (oh, and do you know how to run it? I says its not a command)
@TaylorLiang bash just uses the
bash
command for normal files, andbash -c
for a line of code@theangryepicbanana no i mean how do I run p6 files. It says command not found
@TaylorLiang ohhh you know what? I don't think the python repls come with raku. afaik polygott has all the languages available on repl.it, so if you'd like you could move your project to a polygott repl
@theangryepicbanana ah, ill try