This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%% Copyright (c) 2016, Grzegorz Junka | |
%% All rights reserved. | |
%% | |
%% Redistribution and use in source and binary forms, with or without | |
%% modification, are permitted provided that the following conditions are met: | |
%% | |
%% * Redistributions of source code must retain the above copyright notice, | |
%% this list of conditions and the following disclaimer. | |
%% * Redistributions in binary form must reproduce the above copyright notice, | |
%% this list of conditions and the following disclaimer in the documentation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Dowloaded from: http://download.shredderchess.com/div/uci.zip | |
Description of the universal chess interface (UCI) April 2006 | |
================================================================= | |
* The specification is independent of the operating system. For Windows, | |
the engine is a normal exe file, either a console or "real" windows application. | |
* all communication is done via standard input and output with text commands, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%% Single-roundtrip version of epgsql:equery/3 | |
%% | |
%% It does parse-bind-execute sequence in 1 network roundtrip. | |
%% The cost is that user should manually provide the datatype information for | |
%% each bind-parameter. | |
%% Another potential problem is that connection will crash if epgsql does not | |
%% have a codec for any of result columns. Explicit type casting may save you | |
%% in this case: `SELECT my_enum::text FROM my_tab'. Or you can implement the | |
%% codec you need. | |
%% |