Possibly a breakthrough programming language?

  • 96 Replies
  • 10410 Views
*

LOCKSUIT

  • Emerged from nothing
  • Trusty Member
  • *******************
  • Prometheus
  • *
  • 4572
  • 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

*

HS

  • Trusty Member
  • **********
  • Millennium Man
  • *
  • 1143
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
  • *******************
  • Prometheus
  • *
  • 4572
  • 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
  • *******************
  • Prometheus
  • *
  • 4572
  • 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
  • *
  • 465
    • 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
  • *******************
  • Prometheus
  • *
  • 4572
  • 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
  • *******************
  • Prometheus
  • *
  • 4572
  • 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
  • *******************
  • Prometheus
  • *
  • 4572
  • 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
  • *******************
  • Prometheus
  • *
  • 4572
  • 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
  • *******************
  • Prometheus
  • *
  • 4572
  • 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
  • ***
  • 92
  • 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
  • *******************
  • Prometheus
  • *
  • 4572
  • 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

*

HS

  • Trusty Member
  • **********
  • Millennium Man
  • *
  • 1143
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
  • *******************
  • Prometheus
  • *
  • 4572
  • 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
  • *******************
  • Prometheus
  • *
  • 4572
  • 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

 


Useful new robot.
by MagnusWootton (Robotics News)
January 15, 2022, 01:50:10 am
Christmas Eve Launch
by frankinstien (Robotics News)
January 13, 2022, 08:08:13 am
Forest - The Show
by Zero (Robotics News)
January 09, 2022, 01:58:03 pm
I wonder how well GPT-3 will on run this.
by frankinstien (AI News )
December 20, 2021, 04:36:39 am

Users Online

47 Guests, 0 Users

Most Online Today: 64. Most Online Ever: 2369 (November 21, 2020, 04:08:13 pm)

Articles