<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: The Hascal Programming Language</title>
    <description>The latest articles on DEV Community by The Hascal Programming Language (@hascal).</description>
    <link>https://dev.to/hascal</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Forganization%2Fprofile_image%2F4312%2Fcb203b9f-a601-4c29-8b1f-d0bc6a2e450d.png</url>
      <title>DEV Community: The Hascal Programming Language</title>
      <link>https://dev.to/hascal</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/hascal"/>
    <language>en</language>
    <item>
      <title>Introduction to Hascal Programming Language </title>
      <dc:creator>bistcuite</dc:creator>
      <pubDate>Fri, 18 Jun 2021 12:03:23 +0000</pubDate>
      <link>https://dev.to/hascal/introduction-to-hascal-programming-language-58dg</link>
      <guid>https://dev.to/hascal/introduction-to-hascal-programming-language-58dg</guid>
      <description>&lt;p&gt;&lt;strong&gt;Hascal&lt;/strong&gt; is a simple, fast, powerful compiled language for developing systems, IoT and cloud projects.&lt;/p&gt;

&lt;h2&gt;
  
  
  Features :
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Cross Platform (Linux, Windows, MacOS)&lt;/li&gt;
&lt;li&gt;Fast &amp;amp; Powerful&lt;/li&gt;
&lt;li&gt;C-Family Syntax, inspired by C, Swift, Pascal&lt;/li&gt;
&lt;li&gt;Compiles to C++&lt;/li&gt;
&lt;li&gt;It's written in Python&lt;/li&gt;
&lt;li&gt;Native binaries with no dependency&lt;/li&gt;
&lt;li&gt;Can program Arduino boards with Hascal&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Built-In Lua Interpreter&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hawkai&lt;/strong&gt; project manager(similiar to cargo in rust)&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Examples
&lt;/h2&gt;

&lt;p&gt;Hello World :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nx"&gt;main&lt;/span&gt;&lt;span class="p"&gt;():&lt;/span&gt; &lt;span class="nx"&gt;int&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nx"&gt;println&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Hello World&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Run Lua Code :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nx"&gt;lua&lt;/span&gt;
&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nx"&gt;main&lt;/span&gt;&lt;span class="p"&gt;():&lt;/span&gt; &lt;span class="nx"&gt;int&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nx"&gt;RunLua&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;print 'hello from lua in hascal'&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Other details available in &lt;a href="https://github.com/hascal/hascal"&gt;our github repo&lt;/a&gt;&lt;/p&gt;

</description>
      <category>programming</category>
      <category>cpp</category>
      <category>iot</category>
      <category>cloud</category>
    </item>
  </channel>
</rss>
