Changes in version 1.7 (released November 2023)
-
Updated Lua to version 5.4.6.
-
Added "Run Clipboard" to the File menu so you can run Lua code stored in the clipboard.
-
Added monotonic.lua
(finds longest monotonic words in the current lexicon).
-
Fixed bugs handling filenames with underscores or ampersands in the Run/Load Recent submenus.
-
The Mac app requires macOS 10.11 or later.
Changes in version 1.6 (released March 2022)
-
Updated Lua to version 5.4.4.
-
All Lua functions that take a file path (dofile, io.open, etc) now
support UTF-8 paths on Windows (thanks to Peter Wu's
patch).
-
Fixed a problem with agc handling UTF-8 strings in a Windows console.
You should now be able to type in a command like
agc.exe -l French.lex œuvré and see the correct output
(assuming the code page has been set to UTF-8 via chcp 65001).
-
Hit the "+" and "-" keys to change the size of text in the console window.
-
Added escape-codes.lua
to illustrate the ANSI escape sequences now supported by the console window.
-
Added wordle.lua,
a simple version of Josh Wardle's Wordle game.
-
If ag.clear(n) is called by agc then it now
clears the given number of lines.
-
If ag.getstring(prompt) is called by agc
then it no longer appends any extra lines to the prompt if the default
string is empty or not supplied.
-
Added Integers.lex,
a numeric lexicon containing the
first million integers (starting at 0).
Changes in version 1.5 (released June 2021)
-
The agc command can now run Lua scripts (eg. agc -r Scripts/ladders.lua).
It supports the same set of ag.* functions as Ag,
but with a few minor differences.
-
New scripting functions:
ag.gui
can be used to tell if a script is being run by Ag or by agc.
ag.getchars
returns an array containing each character in the given text.
ag.numchars
returns the number of characters (not bytes) in the given text.
-
Updated Lua to version 5.4.3.
-
The Mac versions of Ag and agc are universal binaries that run natively on Intel or Silicon.
Changes in version 1.4 (released December 2020)
-
The Edit menu has a new History submenu that remembers up to 30 recently entered texts.
-
Updated Lua to version 5.4.2.
-
Mac app ignores Dark mode and requires macOS 10.10 or later.
-
Windows app requires Windows 7 or later.
Changes in version 1.3 (released November 2019)
-
Text is no longer fuzzy on Mac OS 10.9+ when using a Retina screen.
-
Fixed problems on Mac OS 10.15 (Catalina).
Changes in version 1.2 (released June 2016)
-
Fixed a bug that could cause Ag to crash when starting up.
-
Better reporting of errors in a Lua script (offending line number is now displayed).
-
Mac app has a nicer console window (text no longer wraps, and no ugly focus ring).
Changes in version 1.1 (released March 2016)
-
Ag can now be scripted using Lua.
See Lua Scripting for all the details.
-
The File menu has new items for choosing which
script to run, and for opening a console window used to display output
from a script.
-
The main window has a new panel showing the contents of the application
folder. This makes it easy to load a lexicon or run a script.
The panel can be toggled via "Show Files"
in the File menu.
-
Some items in the Lexicon menu have been
renamed and simplified. The new "Load Lexicon" item can be used to load
a lexicon file or a text file, including files outside the Lexicons folder.
Selected files are remembered in the "Load Recent" submenu.
-
All the lexicon files supplied with Ag now have a .lex extension.
This is not strictly necessary but it's a good idea to follow that
convention when naming your own lexicon files because it makes it easy to
tell your operating system to start up Ag by double-clicking a .lex file.
-
The Lexicons folder has a couple of new lexicons:
-
Knuth5.lex contains a set of
5-letter words created by Donald Knuth for testing various algorithms
in his book The Stanford GraphBase.
Useful for testing ladders.lua.
-
Primes.lex is an example of a
numeric lexicon. It contains all
the prime numbers less than one million.
Changes in version 1.0 (released October 2014)
-
The Edit menu has new "Find ..." commands
for finding usable/lexicon words. There are also new "Display ..."
commands for scrolling quickly to the next/previous selection.
-
The pop-up menu that appears by control/right-clicking on a usable/lexicon
word now has commands for temporarily removing the clicked word.
Removing a usable word also removes any anagrams containing that word.
A removed usable word will reappear the next time the list of usable
words is created (eg. by clicking the "Find Usable Words" button).
A removed lexicon word will only be restored when the lexicon file is
reloaded (eg. by selecting its name from the Lexicon menu).
-
Repeat counts in patterns don't have to be enclosed in angle brackets.
For example, you can now enter ?9 rather than ?<9> (the latter
still works).
-
Most punctuation characters (.,:;'") in the supplied text are now
silently ignored.
-
Any CR/LF characters pasted into the text box are replaced by spaces.
-
The option for displaying words in uppercase has been moved out of the
Preferences dialog and into the Edit menu. You can now toggle between
uppercase and lowercase by typing ctrl-U (or cmd-U on a Mac).
-
The German letter "ß" is no longer converted to "SS" when displaying
words in uppercase. Too confusing.
-
The Preferences dialog lets you change the
font size used to display words.
-
When adding file names at the end of the Lexicon menu, Ag ignores any
non-lexicon files that might be in the Lexicons folder.
-
Ag can read very old (version 1) word list files.
-
The agc command has a new -n option for specifying the number of
usable words per line (the default is 10).
Initial version 0.9 (released September 2014)