hiighovuti / catrina Goto Github PK
View Code? Open in Web Editor NEWa categorical programming language (WIP)
License: GNU General Public License v3.0
a categorical programming language (WIP)
License: GNU General Public License v3.0
Currently, the REPL will immediately exit if there was an error.
h ~/Catrina > rina repl --load main.rina
Rina> safvsdcnpkznv
rina: Can't find safvsdcnpkznv
CallStack (from HasCallStack):
error, called at app/Interpreter/BuiltIn.hs:24:27 in main:Interpreter.BuiltIn
h ~/Catrina 1 >
It should behave like other languages' REPLs in that they do not exit immediately if there is an error with your code.
h ~/Catrina > ipython
Python 3.10.1 (main, Dec 18 2021, 23:53:45) [GCC 11.1.0]
Type 'copyright', 'credits' or 'license' for more information
IPython 7.30.1 -- An enhanced Interactive Python. Type '?' for help.
In [1]: raise Exception()
---------------------------------------------------------------------------
Exception Traceback (most recent call last)
<ipython-input-1-32c500991385> in <module>
----> 1 raise Exception()
Exception:
In [2]:
Current typechecking syntax only allows for ad-hoc polymorphism.
Parametric polymorphism could simply be added by creating a new type such that
isSubtype (New name) _ = quit TypeError
this works because the following case also exists
isSubtype a b | a == b = pure ()
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.