Scopus Query Compiler
A Sublime Text 3 package for compiling Scopus Advanced Search queries.
Details
Installs
- Total 133
- Win 104
- Mac 18
- Linux 11
Apr 30 | Apr 29 | Apr 28 | Apr 27 | Apr 26 | Apr 25 | Apr 24 | Apr 23 | Apr 22 | Apr 21 | Apr 20 | Apr 19 | Apr 18 | Apr 17 | Apr 16 | Apr 15 | Apr 14 | Apr 13 | Apr 12 | Apr 11 | Apr 10 | Apr 9 | Apr 8 | Apr 7 | Apr 6 | Apr 5 | Apr 4 | Apr 3 | Apr 2 | Apr 1 | Mar 31 | Mar 30 | Mar 29 | Mar 28 | Mar 27 | Mar 26 | Mar 25 | Mar 24 | Mar 23 | Mar 22 | Mar 21 | Mar 20 | Mar 19 | Mar 18 | Mar 17 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
Scopus Query Compiler
This package works best in conjunction with the Scopus-Syntax-Highlighter package.
Scopus is a database of scientific articles that provides an advanced search function.
When editing search queries, this package allows you to create a query referencing another query. That is, given the following queries:
TITLE-ABS-KEY(neur* AND network*)
TITLE-ABS-KEY(recurrent)
You can create the query “ruby (TITLE-ABS-KEY(neur* AND network*)) AND (TITLE-ABS-KEY(recurrent))
by typing `#1 AND #2` and then using the "Scopus Compile: Compile Query" command in the command palette.
The number you type after `#` is simply the number of the line number of the targeted query.
You can theoretically nest as many query references as you want, as long as you have no circular or self-references (these are detected and cause an exception).
% denotes a comment and is ignored.
Example:
We want to compile line 15, which references lines 1, 7, 12, 13 and 14, which themselves reference other queries.

We select or put our caret on line 15 and use the command palette to use the Compile Query command.

The query on line 15 has been compiled, that is, its references have been replaced by the corresponding queries.

[](http://www.wtfpl.net/)