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

Scratcher

  • 4 Devlogs
  • 9 Total hours

Programming language that compiles to scratch blocks I will 99% change this name later

Open comments for this post

2h 26m 33s logged

Worked on a very basic scratch wrapper, it can generate a recursive function, gonna add more scratch blocks so that actual logic can be generated in this wrapper

Worked on a very basic scratch wrapper, it can generate a recursive function, gonna add more scratch blocks so that actual logic can be generated in this wrapper

Replying to @BetterClient

0
1
Open comments for this post

47m 43s logged

Added static type checking, which makes sure the correct types are used everywhere.
It prevents the user from using a number in an if statement’s condition.
It also prevents you from assigning a string to an integer field

Added static type checking, which makes sure the correct types are used everywhere.
It prevents the user from using a number in an if statement’s condition.
It also prevents you from assigning a string to an integer field

Replying to @BetterClient

0
1
Open comments for this post

2h 53m 34s logged

I added the AST parsing, which is able to parse the ANTLR parse tree into an AST (sorry the image is bad, its all I can show)

I added the AST parsing, which is able to parse the ANTLR parse tree into an AST (sorry the image is bad, its all I can show)

Replying to @BetterClient

0
1
Open comments for this post

3h 3m 1s logged

Worked on the first stage of AST parsing: Only parse top level elements (imports, structs, variables) and don’t parse the insides of functions

Worked on the first stage of AST parsing: Only parse top level elements (imports, structs, variables) and don’t parse the insides of functions

Replying to @BetterClient

0
1

Followers

Loading…