The AdCoL (advanced command language) interpreter exists in three forms. There is a form with a window and a development environment, which is conventionally called ACLd (developer), there is a form without a window, that is, a bare player, which is conventionally called ACLp (player), and there is an old version of vkACL, which is not being developed further, but is quite suitable for those who are used to it. In fact, there can be many variations of the program's appearance, there are no instructions on how to do this yet, but there will be as soon as someone asks. There are also old versions that I no longer use. News in this file appears in such a way that they replace the previous ones, which are already outdated. If you want to save the old, copy the sites yourself.
The new version of AdCoL is designed in two shells of the user interface. The first version is a player, let's call it ACLp, which does not have its own window and conveniently launches only ready-made programs, although among the ready-made programs there is one that allows you to write new programs and immediately execute them. The second version is a program development environment, let's call it ACLd. It has a window and is more convenient for learning the programming language and writing new programs. However, it also launches ready-made programs according to the scheme of the first version. The interpreter is the same for both versions, and the versions themselves can be launched using the corresponding command (bat) file. The ACLp program is convenient for working in combination with other programs through Windows command files. Such a program, in particular, can take input data from files, perform some calculations, write the results back to the file and close automatically, after which other programs can start working. It does not have its own window and can work without showing itself in any way.
In the Windows system, this mode of operation is not the main one, since some interaction with the user is assumed. But this is also possible for the player, since it itself can open windows when executing an AdCoL program. It is also important that it contains ready-made programs in the AdCoL language, almost all of which have been remade in a new universal manner. There are 74 of them now. Namely, each of them at the very beginning launches a text editor, where the program's input data is combined with instructions on how to prepare them and how to work with the program. Moreover, many programs have a demo example that allows you to check it in operation and see what exactly it does. This example in programs with input data on one line is always in the first line. For this reason, the player works most adequately with ready-made ACL programs that are free of errors, and program development tools are not needed.
A program with a window is convenient, just for developing new programs. It has a menu and it can launch some operations through the menu. Moreover, through the menu it can launch all those programs that the player executes. After all, it is the same program, only it has a different appearance. The menu is sometimes useful for opening many windows with a text editor. The new program has few files, is easy to download and install. Here is a link to download the program
Download ACLp.zip — size 13.1 MB, archive of the latest version of the program.
The archive name historically corresponds to the player. In this version, the number of ready programs is 74, but in the future it may increase. They do the most diverse and sometimes unique work. The programs have both a description and an example using some working files to demonstrate its work. For this reason, the size of the distribution is constantly increasing.
Description of the work and structure of input data of ready programs is given together with the input data file itself when the program is launched. This is convenient, if you forgot something, you can always refresh your memory. For preliminary acquaintance with this information, it is duplicated on the site
Information about ready-made programs, what they do and what input data.
A list of all information resources about programming in AdCoL and not only in it, as well as a more in-depth description of ready-made programs. Here is a link to this list
List of sites about AdCoL language and ready-made programs, which contains many links with comments about what is in them..
This version of the program is still one of many that may exist. When launched, the interpreter executes the only program start.acl, which the user does not see, since it is written inside the program file aclp.jar. This program can be written in different ways. Accordingly, different versions of the player itself can arise. In the version that is offered for downloading, it is done so that the interpreter takes an argument from the command line and it must be launched from a command (bat) file, and this file can be written in different ways, which leads to different options for the appearance of the program.
Now the program start.acl executes the code from the file program.acl, if it exists, which is already editable by the user. This file is written by the author. In the current version, it offers the user a new choice, which is described in a special file. It can be read and edited. There are two modes for the player. First, you can select any file on the computer for execution. Second, you can run programs written by the author of the language. For such programs, it is enough to correctly prepare the input data for work. All such programs have a number and are selected by number. When choosing any program on the computer, it is necessary that it is written correctly. After selecting the file, it is executed and the player closes automatically. A brief description of the finished programs can be obtained by the [Help] button. Below is a brief description of each program and instructions on how to run a demo example.
I am used to working on a computer using the Q-dir program. But when working with the ACLp program, the main working folder is the [pro] folder inside the interpreter folder. In Windows systems, you can create such a structure of the command file (_runp.bat), in which the window with this folder opens simultaneously with the opening of the program. You can customize the appearance of this window and the system remembers this appearance for the future, so you only need to customize it once. Here is what the text of such a command file looks like
set path=C:/0/jre1.8.0_291/bin;%path%
explorer C:\_vk\_ACLp\pro\
java -jar aclp.jar
Here the first line specifies the path to the JRE on a specific computer, the second line specifies the path to the (pro) folder, and then the interpreter is launched. In this form, the commands will only work if the file (_runp.bat) is in the same folder as the aclp.jar file, that is, the [_ACLp] folder. But if you make a Windows icon for this file, then you can place it anywhere, even on the desktop, or in any folder with other icons. And everything will work fine. This is how it looks on my computer.
It is important to understand that for the program to work in the above mode, you must have a Java virtual machine on your computer, that is, the JRE program (for a 64-bit processor) version 6 or higher. This can sometimes create problems. For this reason, I have also prepared a version of the program combined with JRE. The size of the zip archive of such a program is significantly larger, but its advantage is that it is completely portable and can work on a flash drive that can be inserted into any computer without leaving any traces on it. Here is a link to download this version of the program
Link to the program for working on a flash drive, it can be used on someone else's computer without leaving traces on it.
Such a program has existed for a long time, for an older version. Now it contains the latest version. Work on a flash drive is not so fast if you need to read or write files often. But it is quite suitable for showing presentations, viewing information and for some calculations.
To demonstrate the work of ready-made programs, additional files are needed, which are not related to the program itself, but it is useful to have them in a minimum amount. Here it is written what is there and how to use it. All such files are in the folder [pro/0/]. Below we use the abbreviation VDP -- input data of the program. Some programs may have many VDP lines, but for demonstration you should use only the first line. The other lines may not work, they were used in the author's work.
The program 01. FOTO SITE creates a website file that contains photo icons with links to the originals. The icons are automatically created by the program. It requires a large number of large photos that are divisible by 5. There are 5 photos with names that begin with (m91.jpg). They need to be temporarily moved to folder 1, and the result will appear in folder 2. This is how the input data is recorded. The m9s.htm file in folder 2 can be viewed in a browser, and then in a text editor using program 25. After the demonstration, the files in folder 2 can be deleted, and the files in folder 1 can be returned to their place.
The program 02. SYMBOL, determines how many times the specified symbol is in the specified file. This simple operation is sometimes useful. You can immediately run the first line, everything is ready for demonstration.
The program 03. DAT to PNG 2 automatically creates images from a fragment of a matrix of numbers for a series of files with numbers in a given folder. Convenient in scientific work when analyzing data. You need to move the file (m003.dat) from folder 0 to folder 1. There should be nothing else in folder 1. And you can run the program. After its work, the result in folder 2 can be viewed using standard programs. And the file in folder 1 must be returned to its place.
The program 04. SLIDE SHOW, automatically creates and displays a site for the browser as a slide show with great
functionality for all the pictures in the specified folder. As in program 01, you can move 5 photos to folder 1 and run the first line. The demonstration will work. Then the photos need to be returned to their place.
The program 05. FIND WORD, searches for a given word inside files with a given extension inside a given folder. You can immediately run the first line, everything is ready for demonstration.
The program 06. PICs on MAT, creates a picture in the form of a matrix of already existing pictures. You can immediately run the first line, everything is ready for demonstration.
The program 07. PICs to ICONs, creates copies of a series of pictures in a folder changing the size to a given width. Scaling without changing the aspect ratio. As in program 01, you can move 5 photos to folder 1 and run the first line. The demonstration will work. Then the photos need to be returned to their place, and the icons in folder 2 destroyed. You can preview them beforehand.
The program 08. SLIDE MAKER creates a slide in the form of a combination of fragments placed in the desired way after
transformations on a picture of a given size. You need to move the game.jpg and jad.jpg files from folder 0 to folder 1. After that, you can execute 1 line. 2 new files will appear in folder 1. Then the specified files need to be returned to their place, and the new files destroyed.
The program 09. PDF PRESENT creates a presentation of the report as a pdf file from slides-pictures. As in program 01, you can move 5 photos to folder 1 and run the first line. The demonstration will work. Then the photos need to be returned to their place, and the pdf file will be shown by the browser. Then it can be destroyed. But it is better not to hurry. It will be useful for demonstrating the 10th program.
The program 10. PDF to PART, creates a new pdf file from selected pages of the old pdf file with their possible conversion. Here you need to use the result of the 9th program, then the input data will work normally. As a result, a new pdf file will appear, which will be useful for the 11th program.
The program 11. PDFs to PDF, creates a new pdf file as a union of several existing files, useful for files with pictures and not only. Here you need to use the result of the 10th program, then the input data will work normally. As a result, a new pdf file will appear from two pdf files.
The program 12. PDF PAGEs, reports information about the page sizes of the selected pdf file. This information is necessary for other operations. Here you need to use the result of the 9th program, then the input data will work normally. As a result, information about the page sizes of the selected file will appear.
The program 13. PIC on PDF, overlays pictures on a pdf file from one page. The latter cover the former. You can run VDP for demonstration. Then the new pdf file in folder 1 can be destroyed.
The program 14. TXT on PDF, overlays text on a pdf file from one page. The possibilities should be studied empirically. You can run VDP for demonstration. Then the new pdf file in folder 1 can be destroyed.
The program 15. CIPHER, creates and edits an encrypted text file. It is impossible to read it without the program. You can immediately run VDP, everything is ready for demonstration. The file is encrypted, but the editor shows it.
The program 16. TXT to DAT, recodes numerical matrices from text format to computer code. The result is written to a file. You can immediately run VDP, everything is ready for demonstration. The new file matrix.dat in folder 0 can be deleted.
The program 17. MAT to FRAG, selects a fragment from a numerical matrix written to a file in the computer code and writes it to another file in the same code. You can immediately run VDP, everything is ready for demonstration. The new file srcf.dat in folder 1 can be destroyed.
The program 18. MAT to Smooth averages a numerical matrix written to a file in the computer code by calculating a convolution with a Gaussian. The unfolding is also done. You can immediately run VDP, everything is ready for demonstration. The new file srcm.dat in folder 1 can be deleted.
The program 19. MAT RESIZE interpolates a numerical matrix written to a file in the computer code using the linear
interpolation method with preservation of the argument area. You can immediately run VDP, everything is ready for demonstration. The new file srcn.dat in folder 1 can be deleted.
The program 20. 1D PIC 1, draws a 1D graph of a series of functions written to a numerical file, different forms of recording numbers are possible. You can immediately run VDP, everything is ready for demonstration. The new file src.png in folder 0 can be deleted.
The program 21. 2D MAP, draws a 2D picture of the matrix of numbers, written in a numerical file, different forms of recording numbers are possible. You can immediately run VDP, everything is ready for demonstration. The new file matrix.png in folder 0 can be deleted.
The program 22. 2D as SET 1D, draws a 2D graph of the matrix of numbers as a set of flat drawings with shift and elimination of invisible lines. No distortions in sections. You can immediately run VDP, everything is ready for demonstration. New png files fxy2a and fxy2b in folder 0 can be deleted.
The program 23. 2D as AXON draws an axonometric projection of the surface z(x,y) in three-dimensional space. The values are specified by a matrix of numbers. You can immediately run VDP, everything is ready for demonstration. The new png file m001 in folder 0 can be deleted.
The program 24. 2D as ANIM shows matrix sections in the form of a flat graph animation, in which the sections change over
time. You can immediately run VDP, everything is ready for demonstration.
The program 25. EDITOR opens a large editor for working with the specified file. The editor itself can do almost everything that can be done with text. You can immediately launch VDP, everything is ready for demonstration.
The program 26. LINE EDIT edits a line with a given number in a file with a given name, replacing the ~ symbol with the end-of-line indicator. You can immediately run VDP, everything is ready for demonstration. There is no demonstration file, you can choose any.
The program 27. LECTURE shows a presentation of a report on slides with advanced capabilities for displaying animation and
calculations. You can immediately launch VDP, everything is ready for demonstration. But on condition that the file is downloaded from Yandex disk and written to the folder pro/0/
The program 28. RUNNER, allows you to quickly work with frequently used files, which are selected from the table of icons. You can immediately launch VDP, everything is ready for demonstration.
The program 29. PLAYER, gives the opportunity to edit and execute simple programs in the language in the language of ACL. You can immediately run VDP, everything is ready for demonstration. You need to select the file figure.pro.
The program 30. UNICODES, the program shows which symbols exist in which font on your computer. You can immediately run VDP, everything is ready for demonstration.
The program 31. PTOE, periodic table, reference book and notebook on elements, you can edit and add information. You can immediately run VD, everything is ready for demonstration.
The program 32. TIFF to TAGs, defines useful tags of a tiff file, such as the width and height of the image, as well as the recording method. You can immediately run VD, and then select the file s001.tif
The program 33. TIFFs to DATs, looks through the folder, extracts numerical matrices from suitable tiff files and writes them to dat files with the same name in another folder. You can immediately run VD in the first line.
The program 34. INDEX, looks through the folder, renames all png and jpg files with the header and numbers in the order of appearance in the catalog. You can immediately run VD in the first line. Then the files from the folder [pro/2/] must be destroyed.
The program 35 PNG to JPG, looks through the folder, reformats all png files into jpg files and writes them to another folder. You can immediately run VD in the first line. Then the files from the folder [pro/2/] must be destroyed.
The program 36. COPY FILEs, puts several files byte by byte into one in the specified folder. You can immediately run VD in the first line. Then the file new.txt in the folder [pro/0/] must be destroyed.
The program 37. ADGF calculates the best approximation of a function from a dat file by a Gaussian function by varying two parameters (center position and half-width). You can immediately run VD in the first line. Then the files named adgf in the [pro] folder can be deleted.
The program 38. SIMP SITE creates a simple site from text with template formatting. Text markup is not required. You can immediately run VD in the first line. The result is in the [pro/0/] folder.
The program 39. PDF to PRINT creates a PDF file of one page, on which you can put many pictures with conversion, convenient for printing on a printer. You can immediately run VD in the first line. The result is in the [pro] folder.
The program 40. PIC to FRAG, cuts out a fragment of an image in jpg or png files, both with the mouse and by numerical parameters. You can immediately run VD in the first line. The result is in the folder [pro/0/].
The program 41. GAME PIC, a game with cutting a picture into fragments, rearranging the fragments, you need to put the picture back together. Can be launched, since VD are not used. Demonstration of the language's capabilities for interactive communication with the user and for graphics. When prompted to select a file, you need to select game.jpg.
The program 42. GAME MOV, game animation with the movement of solid balls in a limited area. Demonstration of the laws of mechanics. Can be launched, since the VD are specified. Demonstration of the language's capabilities for fast animation using mathematical calculations.
The program 43. DAT to TXT, converting the format of recording numbers from computer to text with the creation of a new file. Everything is ready for demonstration.
The program 44. COMP SITE, creates a complex site with javascript objects from formatted text. Text markup is simpler than in programming languages. For demonstration, you need to select project 01, run the local version and do nothing, exit the editor, then agree to the htm file. If the site does not appear, then click runsys.bat.
The program 45. PICs to CUT2, cuts all pictures in a folder into two halves, like pages in a book, necessary for a slide show. For demonstration, you can move 5 files from the folder [pro/0] to the folder [pro/1] after clearing it.
The program 46. PIC to DAT extracts pixels from color images and records them as a numerical matrix for subsequent processing. For demonstration, you can move 5 files from the [pro/0] folder to the [pro/1] folder after clearing it.
The program 47. PIC to RSFrag, cuts out a fragment from a picture after its rotation and scaling according to the given parameters. Everything is ready for demonstration. The program takes the file jad.jpg in the folder [pro/0] and rewrites the file frag.jpg, if it already exists, otherwise it creates it.
The program 48. PIC to XYProf, calculates average pixel values in columns and rows of a jpg or png image. Everything is ready for demonstration. The program takes the m91.jpg file in the [pro/0] folder and calculates profiles for it. Extra files can then be deleted.
The program 49. EPS 1D, builds a graph in eps and pdf formats based on input data and 1D curves written to files. Everything is ready for demonstration. Only the file in999.dat from the folder [pro/0] must be moved to the folder [pro]. The result in the form of two files will appear there.
The program 50. EPS 2D, builds a graph in eps and pdf formats based on input data and a 2D square matrix written to a file. Everything is ready for demonstration. Only the m998.dat file from the [pro/0] folder must be moved to the [pro] folder. The result in the form of 4 files will appear there.
The program 51. SCR to PIC, writes copies of images on the screen to files when showing a video or broadcasting a video conference. Everything is ready for demonstration, since the program does not have input data. But the file contains a description of its work.
The program 52. FOTO SHOW automatically creates and displays a photo show site for displaying a series of photographs with music. Everything is ready for demonstration, the program input data works. The site file is created in the pro folder.
The program 53 -- MAT to LINE shows the dependence on the line between two points from the values of the matrix of two-dimensional dependence. Everything is ready for demonstration. Only it is necessary to move the file m998.dat from the folder [pro/0] to the folder [pro]. The result in the form of 2 files will appear there.
The program 54 -- IMG VIEW, shows pictures of jpg, png, gif formats with indication of cursor position and pixel color. The program has no input data and works directly. It is enough to select any file of png, jpg, gif format.
The program 55 -- DAT MOD 2 performs mathematical operations on arrays of numbers written in files. To demonstrate, it is enough to clear the folders pro/1 and pro/2, then write the file m998.dat from the folder [pro/0] to both folders.
The program 56 -- CHAIN 1, executes other programs in turn, one after another, that is, automation. 1st option. For demonstration, you can use programs without input data, for example, 31 and 54. The input data is already ready, so you can try.
The program 57 -- CHAIN 2, executes other programs in turn, one after another, that is, automation. 2nd option. For demonstration, you can use programs without input data, for example, 31 and 54. The input data is already ready, so you can try.
The program 58 -- PIC MOD performs mathematical operations on pixels in jpg, png, gif files. Everything is ready for demonstration. The file s9.jpg in the pro/0 folder is used. The result is a new file s9n.jpg in the same folder. You can compare two files, and then the new file should be deleted.
The program 59 -- PICs SUP, creates a new picture as a superposition of several pictures in jpg, png, gif file formats. Everything is ready for demonstration. Files in the pro/0 folder are used. As a result, a new file with new.jpg is obtained in the same folder. Then the new file must be destroyed.
The program 60 -- PICs PRO creates a new picture as a product of several pictures in jpg, png, gif formats. Everything is ready for demonstration. Files in the pro/0 folder are used. As a result, a new file with new.jpg is obtained in the same folder. Then the new file must be destroyed.
The program 61 -- SWP4rus, helps the program Miktekh to create a pdf file from a tex file with Russian text from the SWP editor. It has no input data, but the file contains a description and it says how to run the demonstration.
The program 62 -- CALCUL, calculator calculates mathematical expressions and assigns values to 8 variables. Everything is ready for demonstration.
The program 63 -- FM-PLAYER automatically creates and displays a site for the browser that plays music with great
functionality. This program cannot be launched just like that. You need to write several mp3 files to some folder and specify it in the input data. It is unreasonable to insert these files into the distribution, since they are large in size.
The program 64 -- TXT to FB2 creates an electronic book in FB2 format from text, with simple and special markup. Everything is ready for demonstration. After it, you can delete the file book.fb2 in the folder (pro/0).
The program 65 -- DAT MOD 1 performs mathematical operations on arrays of numbers written in files. To demonstrate, it is enough to clear the folder pro/1/, then write the file in999.dat from the folder [pro/0] there. The result should be viewed in the same folder.
The program 66 -- WEB SITE makes a copy of a site from the Internet in its own format, pictures and text separately. An example of input data is present, but it only works on my computer. To run the program, you need to prepare data on your computer according to the written instructions and edit the input data.
The program 67 -- 1D PIC 2, draws 1D graphs of a series of functions written to numeric files inside a given folder. Input data from program 20 can be used.
The program 68 -- PNG to EPS, converting image format from PNG and EPS in batch mode, i.e. all files in the folder. You can use any png images in the pro/1/ folder. The input data will work.
The program 69 -- vkSS, animation of displaying pictures with music and with shaped transitions (Slide Show, Java program). How to set up the demonstration is described in the description.
The program 70 -- DAT to PNG 1, a program for creating an image from a fragment of a numerical matrix. Everything is ready for demonstration.
The program 71 -- DAT to TIFF 1, a program for recording a numeric matrix of an image in tiff 16 bit format without compression. Initially, the numeric matrix is read from a float file as in Java programs. For demonstration, you need to copy the file 001.dat from the [pro/0] folder to the [pro/1] folder. The result will appear there. Then both files can be deleted.
The program 72 -- DAT MOD 2, program for replacing text in a series of files in a selected folder. Many operations. For demonstration, you can insert any file in windows-1251 encoding into the pro/1 folder. Operation 1 will change the encoding to utf-8.
The program 73 -- IMG MOD 2, program for converting pictures into a series of files of the selected folder. Many operations. For demonstration, you can insert any file with a picture into the pro/1 folder and try to change it according to the description.
The program 99 -- DEMO, ACL advertisement in the form of animation demonstration with changing the size of the picture and text. No input data, works immediately.
.
.
.