"Folders is a language where the program is encoded into a directory structure. All files within are ignored, as are the names of the folders. Commands and expressions are encoded by the pattern of folders within folders. " Folders was created by Daniel Temkin https://danieltemkin.com/Esolangs/Folders/. If you want to learn more about the language, check https://www.youtube.com/watch?v=Igh-vBI2LXc
This is what a "Hello World"-program looks like:
Folders2kt can execute this programs on the JVM or print you Kotlin source code for it.
To execute a Folders program you need to add the directory path of the program with the "-d" parameter
java -jar Folders2kt-1.0-SNAPSHOT-all.jar -d /Users/jklingenberg/Code/2021/Folders2kt/sample_programs/99Bottles
To execute a Folders program you need the directory path of the program with the "-d" parameter and the "-source" parameter
java -jar Folders2kt-1.0-SNAPSHOT-all.jar -d /Users/jklingenberg/Code/2021/Folders2kt/sample_programs/99Bottles -source
- src/main - Source code of the interpreter
- sample_programs - Example programs I got from https://github.com/SinaKhalili/Folders.py You need to extract the zips before you can run them.
Feel free to send feedback on Twitter or file an issue. Feature requests are always welcome.
This project is licensed under the Apache License, Version 2.0 - see the LICENSE.md file for details
- Support it by clicking the ⭐ button on the upper right of this page. ✌️
Copyright 2021 Jens Klingenberg
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.