idris-hackers / idrisweb Goto Github PK
View Code? Open in Web Editor NEWA secure web framework, built in the Idris language.
License: MIT License
A secure web framework, built in the Idris language.
License: MIT License
When I build IdrisWeb by
idris --build idris_web.ipkg
I get a syntactic error
./IdrisWeb/DB/SQLite/SQLiteNew.idr:321:17: error: not
a terminator, expected: (....)
reset = if_left then ResetFromEnd else Reset
I also saw a lot of if_valid
scattered through the same file. My idris version: 0.9.14.2-git:f50a883
I assume the intention is to have a BSD-style license in line with most Idris libraries. I'm currently in the process of extracting the SQLite bindings from IdrisWeb to serve as the basis for a somewhat bigger SQLite library with a type provider or two, and it would be nice to know what licensing restrictions there are for that.
Bug idris-lang/Idris-dev#729 results in certain parts of IdrisWeb being incorrectly parsed in ways that may change the semantics of the code.
When I run idris --build idris_web.ipkg
, I get:
make: Nothing to be done for `all'.
./IdrisWeb/Session/Session.idr:99:12: error: not
a terminator, expected: "$",
"$>", "&&", "*", "+", "++", "-",
"->", ".", "/", "/=", "::", ";",
"<", "<$", "<$>", "<*>", "<+>",
"<->", "<<", "<=", "<|>", "=",
"==", ">", ">=", ">>", ">>=",
"`", "||", end of input,
where block
if_valid then do
^
Type checking ./IdrisWeb/CGI/Cgi.idr
./IdrisWeb/CGI/Cgi.idr:23:14:When elaborating type of IdrisWeb.CGI.Cgi.initCGIState:
No such variable InitialisedCGI
./IdrisWeb/Session/Session.idr:99:12: error: not
a terminator, expected: "$",
"$>", "&&", "*", "+", "++", "-",
"->", ".", "/", "/=", "::", ";",
"<", "<$", "<$>", "<*>", "<+>",
"<->", "<<", "<=", "<|>", "=",
"==", ">", ">=", ">>", ">>=",
"`", "||", end of input,
where block
if_valid then do
^
Type checking ./IdrisWeb/Session/Session.idr
./IdrisWeb/Session/Session.idr:48:16:When elaborating right hand side of deserialiseVal:
No such variable parse
./IdrisWeb/Session/Session.idr:348:10:When elaborating right hand side of Effects.Session, IO instance of Effects.Handler, method handle:
No such variable getRandom
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.