jvimal / boxopa Goto Github PK
View Code? Open in Web Editor NEWA simple file sharing app written in Opa Language
A simple file sharing app written in Opa Language
Hi,
I was just trying opa, so I downloaded the lastest build version and tried to compile this app:
carlo@carlo-laptop:/tmp/boxopa$ /opt/opa/bin/opa box.opa
In box.opa [49:67-49:67 | global chars=991-991]
Error at line 49, column 67
The error may be in the following citation, usually in the red part (starting at ⚐) or just before:
<<>
<div id="content">
<h1>Welcome</h1>
<a href="/box/{id}"><img src="http://i.imgur.com/WBbSg.png"/></a>
<h3>Your box has been created. Click <a href="/box/{id}">the box</a> to open it!</h3>
<input type="text" id="perm" value="{box_url(id)}" onclick=⚐"this.select();" />
</div>
</body>
)
)
>>
Hint: File "box.opa", line 49, characters 67-67, (49:67-49:67 | 991-991), Event value should be inside curly braces
Error
Syntax error
The opa version is:
carlo@carlo-laptop:/tmp/boxopa$ /opt/opa/bin/opa --version
Opa compiler (c) MLstate -- version S3.5 -- build 1161
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.