dyalog / jsonserver Goto Github PK
View Code? Open in Web Editor NEWA light-weight APL-based HTTP server to call APL code from the net by passing arguments and results as JSON.
License: MIT License
A light-weight APL-based HTTP server to call APL code from the net by passing arguments and results as JSON.
License: MIT License
It may be easy to include chunks of text using the ScriptFollows approach, but I find it harder to manage and read. I wonder if it wouldn't be easier to keep such static resources in external files and read them in where needed.
See:
JSONServer/Source/JSONServer.dyalog
Line 479 in c890409
Compare with:
e9gille/JSONServer@650c764
JSONServer/Source/JSONServer.dyalog
Line 528 in c890409
Dyalog APL/W-64 Version 17.1.36563
Serial No : 001296
Unicode Edition
Beta release
Thu Aug 1 13:47:40 2019
)clear
clear ws
⎕PW←1000
)ns Zodiac
#.Zodiac
]load /devt/JSONServer/Sample/* -target=Zodiac
⎕VR 'Zodiac.GetSign'
Zodiac.GetSign 10 31
VALUE ERROR: Undefined name: GetSign
Zodiac.GetSign 10 31
∧
It looks like as the problem is the path specified in the ]load command.
.JSONServer class:
14:VALUE ERROR: Undefined name: Error
Server[19] Log'RunServer: DRC.Wait reported error ',(⍕#.Conga.Error 4⊃wres),' on ',(2⊃wres),GetIP obj
∧
It looks like as latest Conga does not have the Error method. DRC does.
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.