Author Topic: A new syntax! (non-serious topic)  (Read 1374 times)

After years of development in a top secret laboratory, I introduce a completely new flavor of the current TS syntax: Mangled TorqueScript!
seriously, if you take this seriously then you seriously forgot to read the serious topic title

Samples:

https://gist.github.com/portify/5070177/raw/1ec33b4debb8b2a621cc0599d1d41efc15024b45/test.cs
https://gist.github.com/portify/5070169/raw/b697cf46ad010b096bb699326f4d1f7aa08ef711/tspy.cs



I-I-I don't know what to say...
it reminds me of python
hehe, globals are defined with %
« Last Edit: March 02, 2013, 10:19:06 AM by MARBLE MAN »


it reminds me of python

Port's clan suffix is ".py" so no surprise there.
« Last Edit: March 03, 2013, 12:17:48 PM by Pacnet2012³ »


Based off of python.

the second sample is actually the result of me running the program that made the second sample through the program itself

First example doesn't exist.


What?
It just redirects to the Gist homepage.nvm, it seems to work now

Here's my new syntax:

Code: [Select]
dont delete and dont overwrite pref-server-catdamage = 100
datablock bullet morecats looks like catbulletsmall.dts does pref-server-catdamage/2 damage and bounces
datablock bullet cat looks like catbullet.dts does pref-server-catdamage damage instantly hits and explodes into morecats
datablock weapon cat-gun that shoots cat projectiles looks like cat.dts and shoots like the default gun
save pref-server-catdamage

Code: [Select]
}

}

;)tnirp%(ohce


;i% = tnirp%

esle

;"zzuBzziF" = tnirp%

)51 % i%(fi esle

;"zzuB" = tnirp%

)5 % i%(fi esle

;"zziF" = tnirp%

)3 % i%(fi

{

)++i% ;xam% < i% ;0 = i%(rof

{

)xam%(zzuBzzif noitcnuf
« Last Edit: March 04, 2013, 04:44:17 PM by Eepos2 »

my new syntax
Code: [Select]
open my zipper and wank me off

This isn't very good. If it is truly based on Python, then Python is ugly.