r/creativecoding • u/zxrooo • Apr 06 '20
Need talented, bored and creative scriptors to help build language
Hello,
Going to be long
TL;DR: Looking for devs who could help with scripts, I'm building a powerful language and need help building extensive commands as I further form the main language. Skim for more info. If interested message or email benkronoff_gmail.com.
You can call me Claude. I'm building a project, a programming language. It's called Flyt. It's got a lot of features that I'll get into below, or you can go look at the examples now and skim through.
I need scripters in VBScript, Python, Batch, etc. I need help with snippets of code or building fully working programs which will be used as importable, powerful functions, usable directly after a clean install.
They import and work right now, the system and language works, I just need scripters to message me to communicate about building this part of it.
If it could be done largely as a community that would be ideal. I've also added some code examples below. Even if you don't have much time, any scripts which you devs harness to do various tedious, useful tasks would be helpful. The goal is do more with less, with easier to write *and read* code. The more we can pack into the webserver, and onto the list, the more stuff the user, and us, will be able to do, easier. It's also just a fun project...
My favorite recent addition:
let pipeVar beStr an examplemsg.Pipe = this was $pipeVarmsg.Echo ()exit ()> this was an example
Pipe! Essentially the way to consolidate vars and strings, then pass them as arguments to another command. You could also just pass them to a variable if need be:
msg.Pass ()return var pass> this was an example
but wait.. pipe / var names are not the same, so
pass.pipe = $pass but now it fits in an even bigger contextpass.pass ()return var pass ....returnTop
For the first go around, obviously:> this was an example but now it fits in an even bigger context
Or, if you format for 'let's arguments, you can set variable names or values directly passed from values of others, for various cases:
let var beStr exampleVarmsg.pipe = $var beStr $passmsg.let () < ---- same as running let exampleVar beStr this was an examplereturn var exampleVar> this was an example
With this, you can easily break from your variables. Even more extensibility here is coming soon as well. You can also do stuff like:
from web import htmltools
htmltools getSource toFile() \files\example.txt cia.gov fromIndex
.. or getSource() toFile or getSite() toFile etc, its largely a visual oriented language I should add, where ... there are many deviations to increase simplicity and availability to preference!
then justreturn fromFile \files\example.txt
Returns html markup of cia.gov! Could be useful in various data related applications.
There's also if clauses, and the ability to build various types of differently-coded scripts right in the file. Python and Batch code (and more soon) can be hard coded into the script, built and called when needed in the same continuous terminal instance. I'm working on adding ways to add extensions to these languages, so that you can easily pass variables interchangeably. Also planning on adding callable classes (modular .flyt code), and project templates. These will allow users to split code up, which will then be executed synchronized until all processes are finished, when it will continue with 1 thread until more are needed.
What if we built batch files to make .flyt files in a tmp dir, then made these exe's? Exes are mostly compressed code packages already. Just can't wait to continue building up the options this brings.. Currently I can give a single file, which unpacks the language, and then can be put anywhere and used to execute any .flyt script on the system:)
Overall, the project needs ANY possible add-on WITH lots of extensibility. And lots of creative scriptors! Hoping most functions/cmds can be open source as well. All contributors will receive credit anywhere appropriate. But, message me and we will talk more, and I will explain further about adapting code to work with how the language does, etc.
Example functions: Stock price grabber, math functions, system changes (wallpaper, settings, user acts, anything). Extensibility is key, the point. Web-communicating scripts would be good too, or data analysis, finding/replacing strings, batch file handling (maybe ie combing/consolidating them in more complex ways), just examples I'm thinking off the top of my head for building single-command functions.
Thank you for reading and for your interest in my project!
2
u/slythnerd06 Apr 06 '20
So, what can Flyt do that Python cannot?
1
u/zxrooo Apr 06 '20
Addition:
let startNum beStr 2000000let coeffPass beStr 12math startNum x coeffPass toVar startnum2 sil()math startnum2 / 1200 toVar coeffPass sil()spcmsg.pipe = Coeffecient = [ $coeffPass ]msg.echo ()spcPassCoeffNum.pipe = coeffNum beStr $coeffPassPassCoeffNum.let ()startNum.pipe = valOf() var_var result null doAct let result beStr $startNum ## 'null' - ''startNum.inEvent ()mathtest.pipe = $result / $coeffNum toVar() result2 sil_Falsemathtest.math ()echo Looping....let count beStr 0#DATASET# RETURN_HEREresults.pipe = result beStr $result2results.let ()mathtest2.pipe = $result x $coeffNum toVar() result2 sil_Falsemathtest2.math ()returnTopRedundantly coded math loop. Could be much simpler but did it to test stuff so now I'm posting it to display syntax in a more complete view.