this post was submitted on 15 Jan 2024
16 points (94.4% liked)

C++

1782 readers
1 users here now

The center for all discussion and news regarding C++.

Rules

founded 1 year ago
MODERATORS
 

Hello!

I've been working on this language for the past 5 years, ArkScript, which is:

  • as small as I could (language wise, 10 keywords, nothing I deemed too specific/useless)
  • running on a VM, compile once run anywhere, just ship your bytecode
  • can be used as a scripting language on its own, like python (though it's not its strength)
  • easy to embed, made in c++ 17 with simplicity in mind

I'm currently working on the v4 (I screwed up with the semver), redoing the imports syntax, and currently cleaning the code and rewriting all the unit tests using boosr-ext/ut.

I'm open to criticism, suggestions, discussions on how to enhance it, or just questions on that weird project.

top 2 comments
sorted by: hot top controversial new old
[โ€“] popcar2 3 points 10 months ago* (last edited 10 months ago) (1 children)

This is really cool. Languages that are tiny and portable are always neat, this reminds me of Lua in that regard.

LISP-style languages are not for me though. I always find them a bit hard to write or read. Also, parenthesis everywhere.

(impl (+ tries 1))}))}))

Good luck on your project!

[โ€“] SuperFola 3 points 10 months ago

Thanks!

I won't lie, I went with a Lisp like syntax because it was the easiest one to parse, so that I could focus on the funny bits like the compiler and virtual machine.