TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Embed Gravity programming language into your code

35 pointsby creolabsover 4 years ago

4 comments

creolabsover 4 years ago
Hi all, the author here.<p>I wanted to create a programming language with the following properties:<p>- Class-based<p>- A JS&#x2F;Swift&#x2F;Kotlin like syntax<p>- Bytecode generation<p>- A clear distinction between front-end and back-end so at runtime, we need only the VM related code to execute the bytecode<p>- Lightweight and easy embeddable<p>- Extensible&#x2F;customizable via bridge API(s) exposed via delegation (no need to hack&#x2F;modify the code)
评论 #25037760 未加载
jdmoreiraover 4 years ago
I&#x27;m interested in what it offers compared to Wren. I&#x27;m really curious and hopefully the author will see this.
creatornatorover 4 years ago
Every now and then Gravity shows up on hn and it always makes me smile--a couple years ago I added some built-in array methods as one of my first forays into compilers and I had a lot of fun with it. Probably my first &quot;real&quot; OSS contribution.
throwaway_pdp09over 4 years ago
@author: Why, given there are tons of good scripting langs already here?<p>(to other who didn&#x27;t know what data-driven programming meant <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Data-driven_programming" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Data-driven_programming</a> &quot;In computer programming, data-driven programming is a programming paradigm in which the program statements describe the data to be matched and the processing required [...] Standard examples of data-driven languages are the text-processing languages sed and AWK&quot;)
评论 #25033777 未加载