Releases: MilesCranmer/gso
Releases · MilesCranmer/gso
v0.3.0
Change log:
Major:
- Added --no-text flag (only dumps code)
- Created shell utility for calling GSO from the terminal
- Added "GSO>>>", "<<<GSO" markers for quick navigation
- Fixed usage of superuser, unix, TeX forums
- Automatic printing of the Stack Overflow question URL which was used
Minor:
- Added demo keys
- Better documentation
- Comments for TeX, HTML, bash variants, vim script
- Search mappings from terse syntax name (e.g., sh->"shell script")
- Using python argparse for safer parsing
- Faster loading of answers
- Fixed single-line comments
v0.2.0-beta
Changes include:
- Add full documentation, linked to :GSO function
- Fixes to newline placement, now answers are formatted properly
- Add language-aware block commenting for text parts of answers, which lets you run code out of the box
v0.1.0-alpha
Basic usage of the plugin now works. Vundle installation works as it should. Dockerfile works as it should.
Run :GSO Prime number generator in haskell, and get the following dumped below your cursor:
Here's a short Haskell function that enumerates primes from Literate Programs:
primes :: [Integer]
primes = sieve [2..]
where
sieve (p:xs) = p : sieve [x|x <- xs, x `mod` p > 0]
Apparently, this is not the Sieve of Eratosthenes (thanks, Landei). I think it's still an instructive example that shows you can write very elegant, short code in Haskell and that shows how the choice of the wrong data structure can badly hurt efficiency.
0.0.1-pre-alpha
- Can manually source gso.vim, then:
call GSO("Do a bubble sort in Python")
and it will dump some bubble sort code at the bottom of the file! And also the answer, in a poorly formatted way. But it works for now.
Setting this to be 0.0.1, as it's a start.