Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Gravity Embeddable Programming Language

#1
Gravity Embeddable Programming Language

<div><p>Currently <a href="https://news.ycombinator.com/item?id=23467289">trending on Hacker News</a>, Gravity is an open source programming language that is designed to be embedded in iOS and Android applications.&nbsp; Released under the MIT license, Gravity is entirely C99 code with the single dependency being the C Standard Library, making Gravity incredible portable.&nbsp; It is also extremely light weight while still being feature rich, with a syntax inspired by the Swift programming language.</p>
<p>Details from the <a href="https://marcobambini.github.io/gravity">Gravity website</a>:</p>
<blockquote readability="23.766233766234">
<p><strong>Gravity</strong> is a powerful, dynamically typed, lightweight, embeddable programming language written in C without any external dependencies (except for stdlib). It is a class-based concurrent scripting language with a modern <a href="https://github.com/apple/swift">Swift</a> like syntax.</p>
<p><strong>Gravity</strong> supports procedural programming, object-oriented programming, functional programming and data-driven programming. Thanks to special built-in methods, it can also be used as a prototype-based programming language.</p>
<p><strong>Gravity</strong> has been developed from scratch for the <a href="https://creolabs.com/">Creo</a> project in order to offer an easy way to write portable code for the iOS and Android platforms. It is written in portable C code that can be compiled on any platform using a C99 compiler. The VM code is about 4K lines long, the multipass compiler code is about 7K lines and the shared code is about 3K lines long. The compiler and virtual machine combined, add less than 200KB to the executable on a 64 bit system.</p>
</blockquote>
<p>The source code for Gravity is <a href="https://github.com/marcobambini/gravity">available here</a>, with various editor syntax support available for <a href="https://github.com/marcobambini/gravity/wiki">download here</a>.&nbsp; Gravity was ultimately created to be the scripting language behind the <a href="https://creolabs.com/">Creo IDE</a> for iOS and Mac development.&nbsp; You can learn more about Gravity in the <a href="https://youtu.be/YuiF9p5aXeU">video</a> below.</p>
<p align="center"><iframe width="853" height="480" src="https://www.youtube.com/embed/YuiF9p5aXeU" frameborder="0" allowfullscreen allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture">[embedded content]</iframe></p>
<p class="under"> <span class="categories"><a href="https://www.gamefromscratch.com/category/GameDev-News.aspx">GameDev News</a> <a href="https://www.gamefromscratch.com/category/Programming.aspx">Programming</a></span> <span class="tags"><a href="https://www.gamefromscratch.com/?tag=/Mac" rel="tag">Mac</a> <a href="https://www.gamefromscratch.com/?tag=/iOS" rel="tag">iOS</a> <a href="https://www.gamefromscratch.com/?tag=/Android" rel="tag">Android</a></span> </p>
<hr>
<p> <!--
<script type="text/javascript"><!- - google_ad_client = "ca-pub-5156240514307514"; /* GFS 720 Post above Comments */ google_ad_slot = "5626844176"; google_ad_width = 728; google_ad_height = 90; //- ->
</script>
--></p>
</div>


https://www.sickgaming.net/blog/2020/06/...-language/
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB Theme © iAndrew 2016