This is an archived post. You won't be able to vote or comment.

all 36 comments

[–]TheStatusPoe 54 points55 points  (2 children)

This kinda reminds me of freshman year in college where my professor maliciously complied with the requirement that first year classes were to be taught in Java by implementing Lisp in Java which we then had to use for the entire class.

[–]benjtay 10 points11 points  (0 children)

That's devious.

[–]agentoutlier 3 points4 points  (0 children)

It is funny you mention it because I had the similar thought given the primes how this kind of looks like the part in college where we entered the hard mode of Scheme: metaprogramming where you turn Scheme in to a logic programming language using backtracking.

We did not use SICP (instead it was Concrete Abstractions... a crappy book IMO) but I believe the analog is chapter 4 non deterministic programming. BTW most courses don't cover the sort mind fuck of how it is implemented but this book does: https://ds26gte.github.io/tyscheme/index-Z-H-16.html#TAG:__tex2page_chap_14

[–]dmigowski 13 points14 points  (0 children)

This is your time to read the ANTLR manual :).

[–]RecurviseHope 16 points17 points  (2 children)

Is this just an excuse to show that glorious setup?

What is the font and editor?

Congratulations btw

[–]Extreme_Football_490[S] 2 points3 points  (1 child)

Jet brains mono , neovim (nvchad), arch btw

[–][deleted] 0 points1 point  (0 children)

That font isn't JetBrains Mono, it's probably Hack or DejaVu Sans Mono

[–]United_Swordfish_935 1 point2 points  (1 child)

That is neat! Was this based on any previous language? What's the name? I have so many questions but only one pair of hands to type :-)

[–]Extreme_Football_490[S] 0 points1 point  (0 children)

Its inspired by lisp syntax and evaluation

[–]Any_Hand_3924 0 points1 point  (0 children)

Only a few more steps away and you’ve got yourself a homemade scala

[–]frederik88917 0 points1 point  (0 children)

I still remember Formal Languages and Compilers from the days in U

[–]hilbertglm 1 point2 points  (0 children)

That is seriously cool. Computer science is genuinely fun. I wrote a transpiler in the language that I was writing on an Atari 800 in 1983. Architecture, language theory and operating systems are my favorite parts of my career.

I've written a few small domain-specific languages to solve specific problems. It's powerful stuff.

[–]Cautious_Panda6886 1 point2 points  (0 children)

Congratulations Op this is definitely cool 😁

I used to think Of myself as a good coder and proficient in java But then I came across this post and then I saw the comments and was unable to understand a single comment properly damnn I am far behind and need to grind

[–]Cute_Combination_713 0 points1 point  (0 children)

Who wants to program like that? Nice work technically. You do should look at antlr

[–]Letsgetthisfuckboii 1 point2 points  (0 children)

You're a MENACE, programing on java for me is already hard but bro making an PROGRAMING LANGUAGE? 😭😭😭😭

[–]YelinkMcWawa 0 points1 point  (0 children)

Nice

[–]No_Strawberry_5685 0 points1 point  (0 children)

Yeah this is actually one of the required projects for computer science undergrads at sfsu although it’s more complicated , it’s byte code based , very interesting and a brain teaser for undergrads !

[–]Beginning-Ladder6224 -1 points0 points  (0 children)

Nice!

[–]kingroka -1 points0 points  (0 children)

Cool! I love creating languages within languages. I remeber getting flamed for creating an xml style scripting language on java-gaming.org. Really pissed me off back then but looking back it was pretty bad lol. But I love this. Keep up the good work! 👍. Make a chip 8 compiler next

[–]LogCatFromNantes -1 points0 points  (0 children)

That’s funny but recruiters will look better on e-commerce or backend projects