Difference between revisions of "Visual Prolog Demo Examples"
(version) |
m (Thomas Linder Puls moved page Visual Prolog Examples to Visual Prolog Demo Examples) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ideNavbar|IDE Projects}} | {{ideNavbar|IDE Projects}} | ||
You can download the latest Visual Prolog [https://www.vusual-prolog.com/link/demo.php demo projects]. | |||
Notice that some demo programs may require the Commercial Edition. The build system will inform you if that is the case. | |||
If you a newer Commercial Editoion you license file will contain a link to the demo programs correcponding to your version. | |||
For the Personal Edition you can only obtain the "current" version of demos, but you can also obtain the "current" version of the [https://www.visual-prolog.com/download.htm Personal Edition]. Older versions of the Personal Edition can be used freely, but is not otherwise supported. | |||
In older versions of Visual Prolog the demo projects was in the installation and could be installed from the menu entry "Help -> Install Examples ..." | |||
Questions and comments to the demo examples can be given in the [https://www.visual-prolog.com/link/discuss.php discussion forum]. | |||
<div style="clear:both"></div> | |||
=== Visual Prolog Demo Examples === | |||
{|{{prettytable}} | {|{{prettytable}} | ||
|- | |||
| '''_BeginnersGuide/''' | |||
| This directory contains updated versions of the examples in the old book [[A Beginners Guide to Visual Prolog]]. | |||
|- | |||
| '''_tutorial/''' | |||
| This directory contains examples corresponding to the main section of the [[:Category:Tutorials|Tutorials]]. | |||
|- | |- | ||
| '''animationControlDemo''' | | '''animationControlDemo''' | ||
| | | This project uses the <vp>animationControl</vp> (this control is not frequently used anymore). | ||
|- | |- | ||
| '''askDialogDemo''' | | '''askDialogDemo''' | ||
| This | | This project use a modal dialog to ask the user a question. | ||
|- | |- | ||
| '''BackgroundIntelligentTransferService''' | |||
| This project uses Windows Background Intelligent Transfer Service (BITS). | |||
|- | |||
| '''balloonTipsDemo''' | |||
| This project uses balloon tips popping up as notifications Windows. | |||
|- | |||
| '''bgDemo''' | |||
| This project runs several background jobs in separate threads. | |||
|- | |||
| '''buttonDemo''' | | '''buttonDemo''' | ||
| This program demonstrates how to handle OK and Cancel buttons, how to handle default buttons, how to handle button responders | | This program demonstrates how to handle OK and Cancel buttons, how to handle default buttons, how to handle button responders | ||
|- | |- | ||
| ''' | | '''callProcess''' | ||
| | | The project invokes an external process and interact with the standard output and standard input of it. | ||
|- | |- | ||
| ''' | | '''cmdLineDemo''' | ||
| This | | This project uses the <vp>commandLineParser</vp> with several options. | ||
|- | |- | ||
| ''' | | '''com''' | ||
| | | This directory contains projects that illustrates how to use a COM component and how to implement one. | ||
|- | |- | ||
| ''' | | '''direct2DDemo''' | ||
| | | This project compare GDI+ graphics to "plain" GDI graphics. | ||
|- | |- | ||
| ''' | | '''dll''' | ||
| This | | This directory contains various projects illustrating the use of DLL. | ||
|- | |- | ||
| ''' | | '''dockingDemo''' | ||
| This | | This project iullustrates how to use "docking" to define the layout of a dialog. | ||
|- | |- | ||
| ''' | | '''dragDropTargetOle''' | ||
| This | | This project is a "drop target" | ||
|- | |- | ||
| ''' | | '''dragNdropDemo''' | ||
| | | This project illustrates the use of drag and drop. | ||
|- | |- | ||
| ''' | | '''editor''' | ||
| This | | This project demonstrates how to use the scintilla editor in a program. | ||
|- | |- | ||
| ''' | | '''formWindowDemo''' | ||
| This | | This project demonstrates the use of forms. | ||
|- | |- | ||
| ''' | | '''GDI+Example''' | ||
| This | | This project illustrates various GDI+ features. | ||
|- | |- | ||
| | | '''genericsExample''' | ||
''' | | This project demostrates how to define and work with generic domains. | ||
| | |||
This | |||
|- | |- | ||
| ''' | | '''guiDemo''' | ||
| | | This project illustrates how to work with GUI. | ||
|- | |- | ||
| ''' | | '''jsonWebToken''' | ||
| This | | This project demonstrates how to create and decompose JSON web tokens (jwt). | ||
|- | |- | ||
| ''' | | '''listDemo''' | ||
| This | | This project illustrates various operations on lists. | ||
|- | |- | ||
| ''' | | '''listViewDemo''' | ||
| | | This project uses the <vp>listViewControl</vp>. | ||
|- | |- | ||
| ''' | | '''logDemo''' | ||
| | | This project demonstrates the use of the <vp>log</vp> tool. | ||
|- | |- | ||
| ''' | | '''logDemoPE''' | ||
| | | This project demonstrates the use of the <vp>log</vp> tool in a Personal Edition projectl. | ||
|- | |- | ||
| ''' | | '''masterSlave''' | ||
| This | | This directory contains projects that utilizes slave process from a master process. | ||
|- | |- | ||
| ''' | | '''MSXML_Example''' | ||
| | | This project uses the MSXML component to load an xml file which is visualized in a tree control. | ||
|- | |- | ||
| ''' | | '''MultiThreadDemo''' | ||
| | | In the example several threads produces results in the single (common for all threads) "queue", and the primary thread reads them one by one and displays on the screen. | ||
|- | |- | ||
| | | '''neuralNet''' | ||
''' | | This project builds a pyramid shaped neural network. (Modern neural networks will use vector/matrix/tensor operations). | ||
| | |||
|- | |- | ||
| ''' | | '''OdbcDemo''' | ||
| | | This project demonstrated the use of ODBC (in a GUI program). | ||
|- | |- | ||
| ''' | | '''pictureDraw''' | ||
| | | This project draws a picture using GDI+ (<vp>gdiPlus</vp>). | ||
|- | |- | ||
| ''' | | '''pie''' | ||
| | | PIE is a Prolog Inference Engine which implements an ISO Prolog like interpreter. | ||
|- | |- | ||
|''' | | '''pieDemo''' | ||
| | | This project uses the <vp>pie</vp> (Prolog Inference Engine) as a scripting language in the project. | ||
|- | |- | ||
| ''' | | '''progress''' | ||
| | | This project uses the <vp>progressControl</vp> to illustrate progress in a program. | ||
|- | |- | ||
| ''' | | '''prologSourceBrowser''' | ||
| | | This project illustrates the use of several types of GUI controls in a dialog that can browse in files in a directory. | ||
|- | |- | ||
| ''' | | '''radioButtonDemo''' | ||
| This | | This project demonstrates how to use single radio button group, multiple radio button groups or how to use check boxes. | ||
|- | |- | ||
| ''' | | '''ribbonDemo''' | ||
| | | This demo project illustrates how to develop applications using the Ribbon and Command packages of pfc/gui. | ||
|- | |- | ||
| ''' | | '''ribbonMdiDemo''' | ||
| | | This demo project illustrates use the ribbonControl in an MDI (Multiple Document Interface) program. | ||
|- | |- | ||
| ''' | | '''sandClocks''' | ||
| This project | | This project can solve a "sand clock" puzles. | ||
|- | |- | ||
| ''' | | '''simpleOdbc''' | ||
| | | This project illustrates the use of ODBC in a command line program. | ||
|- | |- | ||
| ''' | | '''socketAsync''' | ||
| This | | This directory contains a socket server and a corresponding client, both working asynchronously using suspending predicates. | ||
|- | |- | ||
| ''' | | '''streamDemo''' | ||
| This | | This project illustrates the use of streams. | ||
|- | |- | ||
| ''' | | '''sudoku''' | ||
| | | This project can solve soduko's using a constratint programming thechnique. | ||
|- | |- | ||
| ''' | | '''tabControlDemo''' | ||
| | | This project uses the <vp>tabControl</vp>. | ||
|- | |- | ||
| ''' | | '''tail''' | ||
| This | | This project can follow changes to a text/log file. | ||
|- | |- | ||
| ''' | | '''toolTipDemo''' | ||
| | | This project illustrates the use of tooltips. | ||
|- | |- | ||
| ''' | | '''toyIDE''' | ||
| | | This directory contains several projecs that illustrates how a complex application can be divided into several DLL's. | ||
|- | |- | ||
| ''' | | '''treeControlDemo''' | ||
| This | | This project uses the <vp>treeControl</vp> | ||
|- | |- | ||
| ''' | | '''useSyntaxDemo''' | ||
| This project | | This project uses the Visual Prolog parser to parse source files and then extracts literals from the syntax trees. | ||
|- | |- | ||
| ''' | | '''validationDemo''' | ||
| This | | This project illustrates how to use control and dialog validation to validate user input in a dialog. | ||
|- | |- | ||
| ''' | | '''vipLalrGen''' | ||
| | | This project is the source code of the Visual Prolog LALR parser generator. | ||
|- | |- | ||
| ''' | | '''vipPP''' | ||
| | | This project is the source code of the <vp>vipPP</vp> program that can parse and pretty print Visual Prolog source code. | ||
|- | |- | ||
| ''' | | '''WatchDir''' | ||
| This | | This project uses <vp>watchDir</vp> to monitor changes in a directory. | ||
|- | |- | ||
| ''' | | '''watchDirGui''' | ||
| This | | This project uses <vp>watchDir</vp> to monitor changes in a directory (in a GUI program). | ||
|- | |- | ||
| ''' | | '''webService''' | ||
| | | This directory contains a webServiceDemo project with a HTML test page and a corresponding Visual Prolog client program. | ||
|- | |- | ||
| ''' | | '''webView2Demo''' | ||
| | | This project illustrates the usage of the <vp>webView2</vp> control (Edge browser). | ||
|} | |} |
Latest revision as of 14:35, 16 September 2024
IDE |
---|
You can download the latest Visual Prolog demo projects.
Notice that some demo programs may require the Commercial Edition. The build system will inform you if that is the case.
If you a newer Commercial Editoion you license file will contain a link to the demo programs correcponding to your version.
For the Personal Edition you can only obtain the "current" version of demos, but you can also obtain the "current" version of the Personal Edition. Older versions of the Personal Edition can be used freely, but is not otherwise supported.
In older versions of Visual Prolog the demo projects was in the installation and could be installed from the menu entry "Help -> Install Examples ..."
Questions and comments to the demo examples can be given in the discussion forum.
Visual Prolog Demo Examples
_BeginnersGuide/ | This directory contains updated versions of the examples in the old book A Beginners Guide to Visual Prolog. |
_tutorial/ | This directory contains examples corresponding to the main section of the Tutorials. |
animationControlDemo | This project uses the animationControl (this control is not frequently used anymore). |
askDialogDemo | This project use a modal dialog to ask the user a question. |
BackgroundIntelligentTransferService | This project uses Windows Background Intelligent Transfer Service (BITS). |
balloonTipsDemo | This project uses balloon tips popping up as notifications Windows. |
bgDemo | This project runs several background jobs in separate threads. |
buttonDemo | This program demonstrates how to handle OK and Cancel buttons, how to handle default buttons, how to handle button responders |
callProcess | The project invokes an external process and interact with the standard output and standard input of it. |
cmdLineDemo | This project uses the commandLineParser with several options. |
com | This directory contains projects that illustrates how to use a COM component and how to implement one. |
direct2DDemo | This project compare GDI+ graphics to "plain" GDI graphics. |
dll | This directory contains various projects illustrating the use of DLL. |
dockingDemo | This project iullustrates how to use "docking" to define the layout of a dialog. |
dragDropTargetOle | This project is a "drop target" |
dragNdropDemo | This project illustrates the use of drag and drop. |
editor | This project demonstrates how to use the scintilla editor in a program. |
formWindowDemo | This project demonstrates the use of forms. |
GDI+Example | This project illustrates various GDI+ features. |
genericsExample | This project demostrates how to define and work with generic domains. |
guiDemo | This project illustrates how to work with GUI. |
jsonWebToken | This project demonstrates how to create and decompose JSON web tokens (jwt). |
listDemo | This project illustrates various operations on lists. |
listViewDemo | This project uses the listViewControl. |
logDemo | This project demonstrates the use of the log tool. |
logDemoPE | This project demonstrates the use of the log tool in a Personal Edition projectl. |
masterSlave | This directory contains projects that utilizes slave process from a master process. |
MSXML_Example | This project uses the MSXML component to load an xml file which is visualized in a tree control. |
MultiThreadDemo | In the example several threads produces results in the single (common for all threads) "queue", and the primary thread reads them one by one and displays on the screen. |
neuralNet | This project builds a pyramid shaped neural network. (Modern neural networks will use vector/matrix/tensor operations). |
OdbcDemo | This project demonstrated the use of ODBC (in a GUI program). |
pictureDraw | This project draws a picture using GDI+ (gdiPlus). |
pie | PIE is a Prolog Inference Engine which implements an ISO Prolog like interpreter. |
pieDemo | This project uses the pie (Prolog Inference Engine) as a scripting language in the project. |
progress | This project uses the progressControl to illustrate progress in a program. |
prologSourceBrowser | This project illustrates the use of several types of GUI controls in a dialog that can browse in files in a directory. |
radioButtonDemo | This project demonstrates how to use single radio button group, multiple radio button groups or how to use check boxes. |
ribbonDemo | This demo project illustrates how to develop applications using the Ribbon and Command packages of pfc/gui. |
ribbonMdiDemo | This demo project illustrates use the ribbonControl in an MDI (Multiple Document Interface) program. |
sandClocks | This project can solve a "sand clock" puzles. |
simpleOdbc | This project illustrates the use of ODBC in a command line program. |
socketAsync | This directory contains a socket server and a corresponding client, both working asynchronously using suspending predicates. |
streamDemo | This project illustrates the use of streams. |
sudoku | This project can solve soduko's using a constratint programming thechnique. |
tabControlDemo | This project uses the tabControl. |
tail | This project can follow changes to a text/log file. |
toolTipDemo | This project illustrates the use of tooltips. |
toyIDE | This directory contains several projecs that illustrates how a complex application can be divided into several DLL's. |
treeControlDemo | This project uses the treeControl |
useSyntaxDemo | This project uses the Visual Prolog parser to parse source files and then extracts literals from the syntax trees. |
validationDemo | This project illustrates how to use control and dialog validation to validate user input in a dialog. |
vipLalrGen | This project is the source code of the Visual Prolog LALR parser generator. |
vipPP | This project is the source code of the vipPP program that can parse and pretty print Visual Prolog source code. |
WatchDir | This project uses watchDir to monitor changes in a directory. |
watchDirGui | This project uses watchDir to monitor changes in a directory (in a GUI program). |
webService | This directory contains a webServiceDemo project with a HTML test page and a corresponding Visual Prolog client program. |
webView2Demo | This project illustrates the usage of the webView2 control (Edge browser). |