Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/forth-retro forth-retro: Update to 2019.7
details: https://anonhg.NetBSD.org/pkgsrc/rev/f5752651853b
branches: trunk
changeset: 434300:f5752651853b
user: ryoon <ryoon%pkgsrc.org@localhost>
date: Sun Jun 14 10:38:11 2020 +0000
description:
forth-retro: Update to 2019.7
Changelog:
# RETRO 2019.7
This is the changelog for the development builds of Retro.
The version number is likely to change; I'm targetting an
early July window for this release.
## Bug Fixes
- all
- strl* functions now renamed, included on all builds
- `d:add-header` is extended by retro.forth to remap
spaces back to underscores when creating headers
- fix overflow issue with `n:MIN`, `n:MAX`
- build
- fix compile issue under Solaris
- retro-unix
- `clock:year` corrected
- `clock:month` corrected
- examples
- fixed issue in mail.forth
## Build
- Merged Linux & BSD Makefiles
## Core Language
- new words
- `a:fetch`
- `a:store`
- `s:replace-all`
- renamed
- `a:nth` to `a:th`
- `v:update-using` to `v:update`
- performance improvements
- `times`
- `times<with-index>`
- `while`
- `until`
## Documentation
- merged BSD, Linux, macOS build instructions
- updated Starting instructions
- added implementation notes on arrays
- updated the initial word table in rx.muri
- added a man page for retro-describe
## Toolchain
- fixed a bug in the glossary server
## Examples
- new examples
- bury.forth
- compat.forth
- gopher.forth
- magic-8th-ball.forth
- mandelbrot.forth
- RFC865.forth
- RFC867.forth
- safety-net.retro
- shell.forth
- sqlite3 wrapper
- unix-does-user-exist.forth
- improved examples
- 99bottles.forth
- edit.forth
- other
- publish-examples.forth now uses `retro-document`
to generate glossaries
## General
- reorganized directory tree
## I/O
- retro-unix (rre)
- added `clock:utc:` namespace
- remove gopher downloader
- add sockets interface
- add `unix:slurp-pipe`
## Interfaces
- retro-compiler
- runtime now supports scripting arguments
- retro-unix
- remove FullScreenListener
- ok prompt now a hook
- rewrite the listener
- retro-c#
- restored this to the source tree
- native
- better `0x` prefix handling
## Notes for the future:
In a future release, the examples will start using a `.retro`
file name extension rather than `.forth` to avoid possible
confusion with other systems that use `.forth` (e.g., MPE).
diffstat:
lang/forth-retro/Makefile | 91 +----------
lang/forth-retro/PLIST | 256 +++++++++++++++++++++++--------
lang/forth-retro/distinfo | 11 +-
lang/forth-retro/patches/patch-Makefile | 28 +++
4 files changed, 231 insertions(+), 155 deletions(-)
diffs (truncated from 416 to 300 lines):
diff -r 23a40cc57af4 -r f5752651853b lang/forth-retro/Makefile
--- a/lang/forth-retro/Makefile Sun Jun 14 10:32:04 2020 +0000
+++ b/lang/forth-retro/Makefile Sun Jun 14 10:38:11 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2019/05/05 20:27:12 wiedi Exp $
+# $NetBSD: Makefile,v 1.3 2020/06/14 10:38:11 ryoon Exp $
DISTNAME= RETRO${RETRO_REL}-${RETRO_SNAPSHOT}
PKGNAME= forth-retro-${RETRO_REL}.0.${RETRO_SNAPSHOT}
@@ -11,92 +11,15 @@
LICENSE= isc
RETRO_REL= 12
-RETRO_SNAPSHOT= 2018.1
+RETRO_SNAPSHOT= 2019.7
-USE_TOOLS+= pax
+MAKE_JOBS_SAFE= no
LDFLAGS.SunOS+= -lsocket -lnsl
-REPLACE_INTERPRETER+= rre
-REPLACE.rre.old= .*rre
-REPLACE.rre.new= ${PREFIX}/bin/rre
-REPLACE_FILES.rre= bin/listener
-
-INSTALLATION_DIRS= bin
-INSTALLATION_DIRS+= share/doc/${PKGBASE}
-INSTALLATION_DIRS+= share/doc/${PKGBASE}/literate
-INSTALLATION_DIRS+= share/${PKGBASE}
-INSTALLATION_DIRS+= share/examples/${PKGBASE}
-
-# Reimplement build.sh
-do-build:
- ${RUN} cd ${WRKSRC}/tools && \
- for file in unu muri embedimage extend; do \
- ${CC} ${CFLAGS} ${LDFLAGS} -lm -o $$file $$file.c; \
- done
-
- ${RUN} cd ${WRKSRC} && \
- ./tools/unu literate/Unu.md > tools/unu.c; \
- ./tools/unu literate/Muri.md > tools/muri.c; \
- ./tools/muri literate/Rx.md; \
- ./tools/extend literate/RetroForth.md
-
- ${RUN} ${LN} -sf ${WRKSRC}/ngaImage ${WRKSRC}/interfaces/ri/ngaImage
- ${RUN} cd ${WRKSRC}/interfaces/ri/ && \
- ../../tools/embedimage > image.c
-
- ${RUN} ${LN} -sf ${WRKSRC}/ngaImage ${WRKSRC}/interfaces/ngaImage
- ${RUN} cd ${WRKSRC}/interfaces/ && \
- ../tools/extend rre_windows.forth; \
- ../tools/embedimage > image_windows.c; \
- ../tools/extend rre.forth; \
- ../tools/embedimage > image.c
-
- ${RUN} cd ${WRKSRC}/interfaces/ && \
- for file in rre repl; do \
- ${CC} ${CFLAGS} ${LDFLAGS} -lm -o $$file $$file.c; \
- done
-
- ${RUN} cd ${WRKSRC} && \
- sort -o words.tsv words.tsv
-
- ${RUN} cd ${WRKSRC} && \
- ./interfaces/rre glossary.forth export glossary > doc/Glossary.txt
-
-do-install:
-.for f in embedimage extend muri unu
- ${RUN} ${INSTALL_PROGRAM} \
- ${WRKSRC}/tools/${f} \
- ${DESTDIR}${PREFIX}/bin/${f}
-.endfor
-
-.for f in rre repl
- ${RUN} ${INSTALL_PROGRAM} \
- ${WRKSRC}/interfaces/${f} \
- ${DESTDIR}${PREFIX}/bin/${f}
-.endfor
-
- ${RUN} ${INSTALL_SCRIPT} \
- ${WRKSRC}/bin/listener \
- ${DESTDIR}${PREFIX}/bin/listener
-
-.for f in README.md RELEASE_NOTES.md
- ${RUN} ${INSTALL_DATA} \
- ${WRKSRC}/${f} \
- ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
-.endfor
- ${RUN} cd ${WRKSRC}/doc && \
- ${PAX} -rw . ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
- ${RUN} cd ${WRKSRC}/literate && \
- ${PAX} -rw . ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}/literate
-
-.for f in glossary.forth ngaImage words.tsv
- ${RUN} ${INSTALL_DATA} \
- ${WRKSRC}/${f} \
- ${DESTDIR}${PREFIX}/share/${PKGBASE}
-.endfor
-
- ${RUN} cd ${WRKSRC}/example && \
- ${PAX} -rw . ${DESTDIR}${PREFIX}/share/examples/${PKGBASE}
+REPLACE_INTERPRETER+= retro
+REPLACE.retro.old= .*retro
+REPLACE.retro.new= ${PREFIX}/bin/retro
+REPLACE_FILES.retro= retro-describe.forth
.include "../../mk/bsd.pkg.mk"
diff -r 23a40cc57af4 -r f5752651853b lang/forth-retro/PLIST
--- a/lang/forth-retro/PLIST Sun Jun 14 10:32:04 2020 +0000
+++ b/lang/forth-retro/PLIST Sun Jun 14 10:38:11 2020 +0000
@@ -1,66 +1,190 @@
-@comment $NetBSD: PLIST,v 1.1 2018/01/27 10:59:05 kamil Exp $
-bin/embedimage
-bin/extend
-bin/listener
-bin/muri
-bin/repl
-bin/rre
-bin/unu
-share/doc/forth-retro/An_Introduction_To_Retro.md
-share/doc/forth-retro/Architecture.md
-share/doc/forth-retro/Building.md
-share/doc/forth-retro/Examples.md
-share/doc/forth-retro/Glossary.txt
-share/doc/forth-retro/Hyperstatic.md
-share/doc/forth-retro/Interpreter.md
-share/doc/forth-retro/Namespaces.md
-share/doc/forth-retro/NamingConventions.md
-share/doc/forth-retro/QuickRef.md
-share/doc/forth-retro/QuotesAndCombinators.md
-share/doc/forth-retro/README.md
-share/doc/forth-retro/RELEASE_NOTES.md
-share/doc/forth-retro/REPORT-BUGS.md
-share/doc/forth-retro/RETRO_Cross_Reference.md
-share/doc/forth-retro/StackComments.md
-share/doc/forth-retro/Syntax.md
-share/doc/forth-retro/literate/Muri.md
-share/doc/forth-retro/literate/Nga.md
-share/doc/forth-retro/literate/RetroForth.md
-share/doc/forth-retro/literate/Rx.md
-share/doc/forth-retro/literate/Unu.md
-share/examples/forth-retro/1D-Cellular-Automota.forth
-share/examples/forth-retro/99Bottles.forth
-share/examples/forth-retro/AddingVectors.forth
-share/examples/forth-retro/Atua-WWW.forth
-share/examples/forth-retro/Atua.forth
-share/examples/forth-retro/Autopsy.forth
-share/examples/forth-retro/Cat.forth
-share/examples/forth-retro/Chess.forth
-share/examples/forth-retro/DictionaryStats.forth
-share/examples/forth-retro/Disassembler.forth
-share/examples/forth-retro/Echo.forth
-share/examples/forth-retro/GCD.forth
-share/examples/forth-retro/IterativeFibonacci.forth
-share/examples/forth-retro/LeastCommonMultiple.forth
-share/examples/forth-retro/Parse-UPS.forth
-share/examples/forth-retro/Primes.forth
-share/examples/forth-retro/RecursiveFactorial.forth
-share/examples/forth-retro/RecursiveFibonacci.forth
-share/examples/forth-retro/Roo.forth
-share/examples/forth-retro/StringToNumberWithBase.forth
-share/examples/forth-retro/TokenizeString.forth
-share/examples/forth-retro/Tuporo.forth
-share/examples/forth-retro/VT100.forth
-share/examples/forth-retro/accumulator.forth
-share/examples/forth-retro/edit.forth
-share/examples/forth-retro/hanoi.forth
-share/examples/forth-retro/iOS/GopherClient.forth
-share/examples/forth-retro/iOS/README.md
-share/examples/forth-retro/is-palindrome.forth
-share/examples/forth-retro/is-pangram.forth
-share/examples/forth-retro/rot13.forth
-share/examples/forth-retro/sort-on-stack.forth
-share/examples/forth-retro/unicode.forth
-share/forth-retro/glossary.forth
-share/forth-retro/ngaImage
-share/forth-retro/words.tsv
+@comment $NetBSD: PLIST,v 1.2 2020/06/14 10:38:11 ryoon Exp $
+bin/retro
+bin/retro-describe
+bin/retro-document
+bin/retro-embedimage
+bin/retro-extend
+bin/retro-muri
+bin/retro-unu
+man/man1/retro-describe.1
+man/man1/retro-document.1
+man/man1/retro-embedimage.1
+man/man1/retro-extend.1
+man/man1/retro-muri.1
+man/man1/retro-unu.1
+man/man1/retro.1
+share/RETRO12/glossary.forth
+share/RETRO12/ngaImage
+share/RETRO12/tests/test-core.forth
+share/RETRO12/words.tsv
+share/doc/RETRO12/README
+share/doc/RETRO12/RELEASE-NOTES
+share/doc/RETRO12/doc/Architecture.md
+share/doc/RETRO12/doc/Contributing.md
+share/doc/RETRO12/doc/Cross-Reference.md
+share/doc/RETRO12/doc/DEVICES.txt
+share/doc/RETRO12/doc/Examples.md
+share/doc/RETRO12/doc/Glossary-Concise.txt
+share/doc/RETRO12/doc/Glossary-Names-and-Stack.txt
+share/doc/RETRO12/doc/Glossary.html
+share/doc/RETRO12/doc/Glossary.txt
+share/doc/RETRO12/doc/Hyperstatic.md
+share/doc/RETRO12/doc/Interpreter.md
+share/doc/RETRO12/doc/Muri.md
+share/doc/RETRO12/doc/Namespaces.md
+share/doc/RETRO12/doc/NamingConventions.md
+share/doc/RETRO12/doc/Nga.md
+share/doc/RETRO12/doc/QuickRef.md
+share/doc/RETRO12/doc/QuotesAndCombinators.md
+share/doc/RETRO12/doc/REPORT-BUGS.md
+share/doc/RETRO12/doc/SqrtEncoding.pdf
+share/doc/RETRO12/doc/StackComments.md
+share/doc/RETRO12/doc/Unu.md
+share/doc/RETRO12/doc/book/000-Book-Format
+share/doc/RETRO12/doc/book/Additional-Tools
+share/doc/RETRO12/doc/book/Advanced-Builds
+share/doc/RETRO12/doc/book/Basic-Interactions
+share/doc/RETRO12/doc/book/Building-Unix
+share/doc/RETRO12/doc/book/Building-Windows
+share/doc/RETRO12/doc/book/Checking-The-Version
+share/doc/RETRO12/doc/book/Errors
+share/doc/RETRO12/doc/book/Historical-Papers
+share/doc/RETRO12/doc/book/Internals
+share/doc/RETRO12/doc/book/Internals-IO
+share/doc/RETRO12/doc/book/Internals-Interface-Layers
+share/doc/RETRO12/doc/book/Internals-Nga
+share/doc/RETRO12/doc/book/Internals-Retro-Image
+share/doc/RETRO12/doc/book/Lexical-Scope
+share/doc/RETRO12/doc/book/Obtaining-Retro
+share/doc/RETRO12/doc/book/Overview
+share/doc/RETRO12/doc/book/Programming-Techniques
+share/doc/RETRO12/doc/book/Programming-Techniques-Naming-Conventions
+share/doc/RETRO12/doc/book/Programming-Techniques-Return-Stack
+share/doc/RETRO12/doc/book/Programming-Techniques-Stack-Diagrams
+share/doc/RETRO12/doc/book/Programming-Techniques-Unu
+share/doc/RETRO12/doc/book/Programming-Techniques-Using-Combinators
+share/doc/RETRO12/doc/book/Programming-Techniques-Word-Classes
+share/doc/RETRO12/doc/book/Programming-Techniques-Working-With
+share/doc/RETRO12/doc/book/Programming-Techniques-Working-With-Arrays
+share/doc/RETRO12/doc/book/Programming-Techniques-Working-With-Assembly
+share/doc/RETRO12/doc/book/Programming-Techniques-Working-With-Buffer
+share/doc/RETRO12/doc/book/Programming-Techniques-Working-With-Characters
+share/doc/RETRO12/doc/book/Programming-Techniques-Working-With-Dictionary
+share/doc/RETRO12/doc/book/Programming-Techniques-Working-With-Floating-Point
+share/doc/RETRO12/doc/book/Programming-Techniques-Working-With-Numbers
+share/doc/RETRO12/doc/book/Programming-Techniques-Working-With-Pointers
+share/doc/RETRO12/doc/book/Programming-Techniques-Working-With-Strings
+share/doc/RETRO12/doc/book/Programming-Techniques-Writing-Combinators
+share/doc/RETRO12/doc/book/Quick-Tutorial
+share/doc/RETRO12/doc/book/Retro-Compiler
+share/doc/RETRO12/doc/book/Security
+share/doc/RETRO12/doc/book/Starting
+share/doc/RETRO12/doc/book/Syntax
+share/doc/RETRO12/doc/book/TOC
+share/doc/RETRO12/doc/book/Tech-Notes
+share/doc/RETRO12/doc/book/The-Stacks
+share/doc/RETRO12/doc/book/Using-the-Glossary
+share/examples/RETRO12/example/1D-Cellular-Automota.forth
+share/examples/RETRO12/example/99Bottles.forth
+share/examples/RETRO12/example/ANS-PICK-ROLL.forth
+share/examples/RETRO12/example/Abort.forth
+share/examples/RETRO12/example/AddingVectors.forth
+share/examples/RETRO12/example/Assertions.forth
+share/examples/RETRO12/example/Atua-WWW.forth
+share/examples/RETRO12/example/Atua.forth
+share/examples/RETRO12/example/Autopsy.forth
+share/examples/RETRO12/example/Block-Editor.forth
+share/examples/RETRO12/example/Buffer.forth
+share/examples/RETRO12/example/ByteAddressing.forth
+share/examples/RETRO12/example/CaptureOutput.forth
+share/examples/RETRO12/example/Casket-HTTP.forth
+share/examples/RETRO12/example/Cat.forth
+share/examples/RETRO12/example/Chess.forth
+share/examples/RETRO12/example/CloseParen.forth
+share/examples/RETRO12/example/DictionaryAlias.forth
+share/examples/RETRO12/example/DictionaryStats.forth
+share/examples/RETRO12/example/DictionaryUsedIn.forth
+share/examples/RETRO12/example/DisplayNames.forth
+share/examples/RETRO12/example/EDA.forth
+share/examples/RETRO12/example/Echo.forth
+share/examples/RETRO12/example/EvaluateString.forth
+share/examples/RETRO12/example/FloatVar.forth
+share/examples/RETRO12/example/FloatingPointEncoding.forth
+share/examples/RETRO12/example/Forget.forth
+share/examples/RETRO12/example/GCD.forth
+share/examples/RETRO12/example/HTML.forth
+share/examples/RETRO12/example/IterativeFibonacci.forth
+share/examples/RETRO12/example/KeyValueStore.forth
+share/examples/RETRO12/example/LeastCommonMultiple.forth
+share/examples/RETRO12/example/LightWeightFlowControl.forth
+share/examples/RETRO12/example/Marker.forth
+share/examples/RETRO12/example/Matrix.forth
+share/examples/RETRO12/example/NamingQuotes.forth
Home |
Main Index |
Thread Index |
Old Index