Possibly a breakthrough programming language?

  • 96 Replies
  • 3463 Views
*

LOCKSUIT

  • Emerged from nothing
  • Trusty Member
  • ******************
  • Hal 4000
  • *
  • 4108
  • First it wiggles, then it is rewarded.
    • Main Project Thread
Possibly a breakthrough programming language?
« on: February 01, 2020, 03:25:20 AM »
I came up with my own programming language. At least I think. Here it is below. It can do lots with text and even modify its own code. See how it grabs its pointer code and creates a node tree of pointers?

For comparison, C++ and the tutorials look much longer/harder https://www.learncpp.com/

In my language, all you code is: where to look (which function, or where in a string), and what to read/write. You can grab any letter in the code or even an input file and place it to write code/file. Similar to a Turing Tape machine, but very usable it seems.

g=goto
f=function
s=string
r=read
w=write
"""=any chars
###=digit
#=#
+=+1
-=-1
c=create function below
d=delete
OR
AND

REAL EXAMPLE:

gf3 c"""
gf3 gs3 gf4 gs3
5 gf3 r gs+ gf4 gs+ w
"""the cat was
gf0 r gf7 w gf0 gs3 gf6 w
OR
hmm...you get the idea

What I did above is goto line 4, create a line line5 below it starting with """. Then now I'm done line1 code I move onto line 2 and I goto line 5 we created and go to letter 4 in that line and then i just made the current position here now i'm gonna go to line 5 and go to letter 4. Now on code line 3 it says 5, so 5 loops. You can see a read/grab/clone something and drop it off somewhere. The gs+ just increments the position forward by 1.

Looking for feedback. Could it work?
« Last Edit: February 01, 2020, 05:14:04 AM by LOCKSUIT »
Emergent

*

Hopefully Something

  • Trusty Member
  • *********
  • Terminator
  • *
  • 880
  • no seriously where are these cookies
Re: Possibly a breakthrough programming language?
« Reply #1 on: February 01, 2020, 04:14:59 AM »
That's way more work than just learning a language, I'd like an auto translator from English to your existing code of choice. Maybe GPT2 could learn that from lots of examples or something. But  you'd need a program that is forgiving with errors. Or at least does a code spellcheck like Word.

*

LOCKSUIT

  • Emerged from nothing
  • Trusty Member
  • ******************
  • Hal 4000
  • *
  • 4108
  • First it wiggles, then it is rewarded.
    • Main Project Thread
Re: Possibly a breakthrough programming language?
« Reply #2 on: February 01, 2020, 04:29:58 AM »
No, it's not way more work. I fully understand it and can create my whole project in just 20 lines. My only question is if it will work. My input file is 100MB and must be fast/low RAM, and does many text manipulation stuff (which is always get this here, move this here, as I said in opening post......)

Hope someone who knows how to program can weigh in.

I'm checking this out, again.
https://developers.google.com/blockly
Emergent

*

LOCKSUIT

  • Emerged from nothing
  • Trusty Member
  • ******************
  • Hal 4000
  • *
  • 4108
  • First it wiggles, then it is rewarded.
    • Main Project Thread
Re: Possibly a breakthrough programming language?
« Reply #3 on: February 01, 2020, 04:43:50 AM »
I edited the code description below the example a bit, made a mistake.
Emergent

*

WriterOfMinds

  • Trusty Member
  • *******
  • Starship Trooper
  • *
  • 310
    • WriterOfMinds Blog
Re: Possibly a breakthrough programming language?
« Reply #4 on: February 01, 2020, 05:43:13 AM »
If this is the type of thing you're after, maybe you should learn sed.  https://en.wikipedia.org/wiki/Sed

*

LOCKSUIT

  • Emerged from nothing
  • Trusty Member
  • ******************
  • Hal 4000
  • *
  • 4108
  • First it wiggles, then it is rewarded.
    • Main Project Thread
Re: Possibly a breakthrough programming language?
« Reply #5 on: February 01, 2020, 05:53:31 AM »
https://www.gnu.org/software/sed/manual/sed.html

let me see...

something already seems off at first glance, :-)

Edit: Nope, reads like puddycake to me. Not simple enough.
Emergent

*

LOCKSUIT

  • Emerged from nothing
  • Trusty Member
  • ******************
  • Hal 4000
  • *
  • 4108
  • First it wiggles, then it is rewarded.
    • Main Project Thread
Re: Possibly a breakthrough programming language?
« Reply #6 on: February 01, 2020, 06:46:33 AM »
Oh mine would need math functions like == and > but it seems all simple. I really don't get the whole need for the [j++ /2!%$## /n B! >>[j++.......
Emergent

*

LOCKSUIT

  • Emerged from nothing
  • Trusty Member
  • ******************
  • Hal 4000
  • *
  • 4108
  • First it wiggles, then it is rewarded.
    • Main Project Thread
Re: Possibly a breakthrough programming language?
« Reply #7 on: February 01, 2020, 06:49:56 AM »
they say Blocky, above, by Google is not a toy. Maybe it grew up finally.

oh and:
https://www.youtube.com/watch?v=lPVJjQbEeN0
« Last Edit: February 01, 2020, 07:10:37 AM by LOCKSUIT »
Emergent

*

LOCKSUIT

  • Emerged from nothing
  • Trusty Member
  • ******************
  • Hal 4000
  • *
  • 4108
  • First it wiggles, then it is rewarded.
    • Main Project Thread
Re: Possibly a breakthrough programming language?
« Reply #8 on: February 01, 2020, 07:08:45 PM »
So far Blockly is working for me, I'll update in a few hours.

I'm coding like "woosh" right now hehe

"woosh"

IT'S WORKING!!!!!!! be right back
Emergent

*

LOCKSUIT

  • Emerged from nothing
  • Trusty Member
  • ******************
  • Hal 4000
  • *
  • 4108
  • First it wiggles, then it is rewarded.
    • Main Project Thread
Re: Possibly a breakthrough programming language?
« Reply #9 on: February 01, 2020, 07:46:07 PM »
Emergent

*

Dat D

  • Nomad
  • ***
  • 64
  • AI rocks!
Re: Possibly a breakthrough programming language?
« Reply #10 on: February 01, 2020, 07:48:46 PM »
...
g=goto
f=function
s=string
r=read
w=write
"""=any chars
###=digit
#=#
+=+1
-=-1
c=create function below
d=delete
OR
AND

REAL EXAMPLE:

gf3 c"""
gf3 gs3 gf4 gs3
5 gf3 r gs+ gf4 gs+ w
"""the cat was
gf0 r gf7 w gf0 gs3 gf6 w
OR
...
Oooo I love new languages, your new language looks like https://en.wikipedia.org/wiki/Brainfuck


I want to create a new language too, a fifth generation language:
1st gen: Punch card
2nd gen: Assembly
3rd gen: High level, eg. C
4th gen: High level with OOP
5th gen: High level with OOP and built-in UI markup

*

LOCKSUIT

  • Emerged from nothing
  • Trusty Member
  • ******************
  • Hal 4000
  • *
  • 4108
  • First it wiggles, then it is rewarded.
    • Main Project Thread
Re: Possibly a breakthrough programming language?
« Reply #11 on: February 01, 2020, 08:00:04 PM »
No, brainfuck is said to be designed to be a braincuckle, mine is not. Mine is so simple, trust me. It currently needs some math but all works I think. Just follow the goto and read/write I made in opening post. gf3 means go to line 4....gs5 means go to letter 6 in the line of code you went to WHILE follow the top most line of code not finished yet !

For the video below, compare it to the video above I made of my Blocky code. You can see how my pro. language can manipulate letters to do what I show yous I did in Blocky.

note i messed up at 1:30 i meant the """the etc we already have lol
https://www.youtube.com/watch?v=ZZ8uYfgWeWo
Emergent

*

Hopefully Something

  • Trusty Member
  • *********
  • Terminator
  • *
  • 880
  • no seriously where are these cookies
Re: Possibly a breakthrough programming language?
« Reply #12 on: February 01, 2020, 08:42:23 PM »
Yey! Blocky FTW!

*

LOCKSUIT

  • Emerged from nothing
  • Trusty Member
  • ******************
  • Hal 4000
  • *
  • 4108
  • First it wiggles, then it is rewarded.
    • Main Project Thread
Re: Possibly a breakthrough programming language?
« Reply #13 on: February 01, 2020, 09:11:25 PM »
BZZZZZ BZZZZZ
intaking wisdom flow into brain
"woosh"
"singularity"

https://www.google.com/search?q=blockly+create+list&tbm=isch&sxsrf=ACYBGNSxcH3pZoIeBnuauGhBKhA4VgEbvg:1580591398854&source=lnms&sa=X&ved=0ahUKEwjCh_TmobHnAhWBZs0KHWuNBfgQ_AUICigB&biw=1280&bih=923&dpr=1#imgrc=AIWw-5v1-_DReM&imgdii=suMWYovyyy_lXM

I like how when you click a complex one, Google Images suggests related images as complex or more complex, giving you complex large block programs , cool
Emergent

*

LOCKSUIT

  • Emerged from nothing
  • Trusty Member
  • ******************
  • Hal 4000
  • *
  • 4108
  • First it wiggles, then it is rewarded.
    • Main Project Thread
Re: Possibly a breakthrough programming language?
« Reply #14 on: February 01, 2020, 09:17:14 PM »
Note if anyone wants to create my programming language, go ahead, I'm currently fixed on Blocky and otherwise can't code.
Emergent

 


Users Online

79 Guests, 2 Users
Users active in past 15 minutes:
squarebear, ivan.moony
[Trusty Member]

Most Online Today: 117. Most Online Ever: 340 (March 26, 2019, 09:47:57 PM)

Articles