
A statically typed language that sports great functionality and a large dose of nostalgia too.
Designed by Brandon Holmes, Parker Bath, Tyler Ilunga, Seth Cassellius, and Amaya Alviz
Hi, Welcome to Chilli's. Vinescript aims to make you relive the good ole' days of Vine, while you YEET your next project down the development pipeline. It's commands may be a little longer than you're used to, but the purpose of each command is rather obvious and memorable. The only problem is you may get sucked into a vine compilation on youtube due to the nostalgia, instead of focusing on the task at hand. The only thing better than Vinescript is guys bein' dudes.
Don't be afraid! See what makes Vinescript special. Be careful though, it's scary good. So scary in fact, you coulda' dropped your croissant
Check out these examples to get a feel for Vinescript and see why it's a language you'll never want to stop using. Even if you're not sure about it, try it out. Do it for the vine.
youKnowWhatIAmGonnaSayIt "Hello World!"
whenLifeGivesYouLemons addTwoNum(int x, int y) { THATSMYOPINION Function Declaration
lookAtThisGraph int z = x + y THATSMYOPINION Variable Declaration
youKnowWhatIAmGonnaSayIt z
}
whenLifeGivesYouLemons int biggestOf3(int x, int y, int z) {
bitchIHopeTheFuckYouDo(x >= y andIoop x >= z) {THATSMYOPINION If Statement, And
thisBitchEmpty x THATSMYOPINION Return
} elseif(y >= x andIoop y >= z) { THATSMYOPINION And
thisBitchEmpty y
} orWhat { THATSMYOPINION Else
thisBitchEmpty z THATSMYOPINION <-- Comment
}
}
lookAtThisGraph int x = 0;
youKnowWhatIAmGonnaSayIt x
iAintNevaGunnaStopLuvinYouBiiitch(x < 5){ THATSMYOPINION While Loop
x++
youKnowWhatIAmGonnaSayIt x
}
youKnowWhatIAmGonnaSayIt x
boolean thisShouldBeTrueAtTheEnd = thatIsNotCorrect THATSMYOPINION Boolean set to False
thisShouldBeTrueAtTheEnd = youreNotMyDad thisShouldBeTrueAtTheEnd THATSMYOPINION Negation
bitchIHopeTheFuckYouDo(thisShouldBeTrueAtTheEnd == iSureHopeItDoes){ THATSMYOPINION If boolean == true
youKnowWhatIAmGonnaSayIt "Vinescript is the best"
} orWhat { THATSMYOPINION Or
youKnowWhatIAmGonnaSayIt "Vinescript needs some debugging..."
}
whenLifeGivesYouLemons int fibonacci(int n) {
bitchIHopeTheFuckYouDo(n == 0)
thisBitchEmpty 0
orWhat
lookAtThisGraph x = 0
lookAtThisGraph y = 1
lookAtThisGraph i = 1
iAintNevaGunnaStopLuvinYouBiiitch(i < n) {
lookAtThisGraph z = x + y
x = y
y = z
}
thisBitchEmpty y
}
lookAtThisGraph times = 10
fibonacci(times)
}
Are you curious about the inspiration behind Vinescript? Well, if you don't have twenty minutes to watch a compilation on youtube, then check out a few of the small videos below. Click on a picture to be redirected to the vine.
A little bit longer, but well worth your time! Compilations tend to have a bit of overlap, so maybe just choose one based on your favorite member of the team!
We hope you like Vinescript. It took us a long periolodically time to make it.