cMQL parts APIs
*cmql-core is written in .cljc files, shared in both cqml-j and cmql-js
*cmql is the core, written in .cljc files, shared in both cqml-j and cmql-js
cMQL query functions like
q,fq ... creates a local enviroment where all operators/stages are defined.
The :use is not allowed in clojurescript, its only used for the IDE, before complile its auto-removed with as script.
The important cmql ones to see the API are the
The important cmql-js ones to see the API are the
cmql-j and cmql-js have similar namespaces structure.
Clojurescript doesn't allow :use, but we need it for the auto-complete of IDE (for example cursive).
A small script calls usecljs.jar that makes the use comment before compile (in all project).
The 2nd line makes it a comment, and the 4th line restores it, this is usedful only while developing.
cMQL internal namespaces
They are not used from the user directly.
Internal important used from from cMQL-j, cMQL-js
Internal use from cMQL
Cursive provides auto-complete, it also allows us to define how a symbol should be resolved. For example golet is a macro that combines let and go, we can tell cursive to resolve it as let. right-click on golet,show-context actions,and resolve as let (helps on showing the un-resolved symbols) We can do the same for if- to resolve it as if, that helps on spacing etc.