You are browsing as a guest. Sign up (or log in) to start making projects!

Yashiro's JSON

  • 5 Devlogs
  • 14 Total hours

An Weird Programming Language built around using JSON and interpreted with Dart.

Ship #1 Pending review

I made an Programming Language that uses JSON (You heard it right, JSON!!!)

I initially showed the idea to my friend and he was traumatized as hell, So i decided to go with it.

And i decided to write the interpreter with Dart to add more spice to the wound.

It is a real sucess!! tho i faced many issues with variable declaration and parser, it was solved thankfully. It has two types of variable assigning let and lete, Lete being the executed variable.

Loop and Networking were the hardest to do, It also has a tests section to see if something breaks something or not.

It has custom function definations too and Math’s Bitwise Operators and stdin support as well.

It also has an exception view to see the code crash and i plan to expand this project more.

I hope you all like this project as much as my other ones.

  • 5 devlogs
  • 14h
Try project → See source code →
Open comments for this post

2h 1m 54s logged

Devlog - 5 (Finale Before Shipping)

An Programming Language where Code is in JSON, YEAH LITERALLY JSON as a Programming Language

Networking

  • Added net.server

net.server

As it suggests it can now open full HTTP Server at designated ports now!

You can check out the example in server.yaj in root of the repository.

The First Beta and Ship is now READY!!!

https://github.com/kwe26/yajson/releases/tag/1.0.0

Test and tinker around with it, Let’s goo!!

THANKS,
I LOVE YOU ALL :heart-eng: >3.!!!

0
0
4
Open comments for this post

1h 0m 30s logged

Devlog - 4

An Programming Language where Code is in JSON, YEAH LITERALLY JSON as a Programming Language

Features added - Networking

There are now Networking Modules too

Networking

Allows the User to do Networking tasks with --allow-network-access

  • net.get
  • net.post
  • net.delete
  • net.patch
  • net.put

It currently allows passing url, headers and body.

Anyways,
Thanks for reading
Love you all 😘😘

0
0
8
Open comments for this post

1h 33m 30s logged

Devlog - 3

An Programming Language where Code is in JSON, YEAH LITERALLY JSON as a Programming Language

New Features

  • Loops
  • Include Multiple .yaj files in one.
  • io.rename <-> io.move
  • More Tests added in tests/

Tests

  • There are now more tests included such as Lists (add,remove,indexOf,getAt,removeAt,set, etc.)
  • I/O Tests
  • Include yaj files
  • Switch Tests
  • VarInVar Tests

YaJSON

[
    {
        "func": "print", 
        "$1": "Hello World, love you all!"
    }
]

Info

YaJSON’s interpreter is written in dart, weird isn’t it?

Future Goal

  • Networking
  • Shell Access
  • GUI Visualizer
    .
    Cya, everyone
    Love you all ❤️ , Have a nice day/night ahead depending on your timezone and when you are reading right now.!!!
0
0
8
Open comments for this post

6h 37m 14s logged

Devlog - 2

An Programming Language where Code is in JSON, YEAH LITERALLY JSON as a Programming Language

New Features

  • Function Define and Calling Them
  • Lists Manipulation
  • File I/O
  • Take Input from User
  • Extended Permissions
  • POE DUMP (Point of Execution my own term)
  • Added Tests

Changes

lete can now execute and assign to variable and permissions of --allow-rw-access is required for File I/O Operations.
The Variables can now be assigned like {hello: {b: 1}}
and be accessed like ${hello.b} like this too. It’s too good looking now. - Variable Parser is now universal too.

Tests

  • It can conduct tests within the runtime and check for expected output.
  • It also reports the pass percentage too.

POE

  • It’s an Counter of Total Executions Being made.
  • It outputs the original parse value of the JSON so it could better used for predicting errors

Thanks, Love you all :heart-pulse-shine:

0
0
18
Open comments for this post

2h 26m 39s logged

Devlog - 1

An Programming Language where Code is in JSON, YEAH LITERALLY JSON as a Programming Language

What is Currently Has?

  • Print/Console Clear
  • Basic Arithmatic Operations
  • Declaring Variable and Constants

Future Plans

  • Make it to have Tests
  • Making the Interpreter More Stable.

Also, i think i can also make an Drag-an-drop Programming Interface.

yeah, i created this to traumatize the Internet.

And obv, The Interpreter is Writtern in Dart!!

0
0
7

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…