Updates man page and makefile

This commit is contained in:
Sloom Sloum Sluom IV 2023-11-29 12:28:04 -08:00
parent e319832adb
commit e92e8a5e05
2 changed files with 13 additions and 5 deletions

View File

@ -15,11 +15,19 @@ build:
.PHONY: install
install: install-bin clean
.PHONY: install-bin
.PHONY: install-bin install-man
install-bin:
install -d ${DESTDIR}${BINDIR}
install -m 0755 ./${BINARY} ${DESTDIR}${BINDIR}
.PHONY: install-man
install-man: bombadillo.1
gzip -c ./${BINARY}.1 > ./${BINARY}.1.gz
install -d ${DESTDIR}${MAN1DIR}
install -m 0644 ./${BINARY}.1.gz ${DESTDIR}${MAN1DIR}
.PHONY: clean
clean:
${GOCMD} clean
rm -rf ${BINARY}.1.gz

View File

@ -13,6 +13,8 @@ felise - programming language and interpreter
The options, see below, passed to the interpreter are executed followed by the felise program in the given script file. The args passed to the script are available as a list of strings held in the variable \fIsys-args\fP.
.TP
Interactive mode is accessed when no file is passed to the interpreter. In this mode \fBfelise\fP prompts the user, reads lines from stdin, and executes them as they are read. If a line ends in \\ a secondary prompt is displayed and lines are read until a line does not end in \\.
.TP
The repl supports GNU readline-style key commands (up/down to move between previous entries, ^a to move to the beginning of the line, ^e to move to the end, etc).
.SH OPTIONS
.TP
.B
@ -27,9 +29,7 @@ Prints the version number and exits.
\fB-debug\fP
Turns on debug mode, enabling interpreter warnings
.SH FILES & SYSTEM VARS
\fBfelise\fP source code files, by convention, have the file extension \fI.fe\fP.
.TP
REPL session history is persistent in \fBfelise\fP. The history file is located one directory up from the \fBslope\fP module directory (whatever that is set to) and named \fIslope-repl.history\fP, for example: \fI$SLOPE_MOD_PATH/../slope-repl.history\fP (using a fallback path for \fI$SLOPE_MOD_PATH\fP if needed.
\fBfelise\fP sourc code files, by convention, have the file extension \fI.fe\fP.
.SH BUGS
There are bugs. Have fun!
.SH LINKS
@ -37,7 +37,7 @@ There are bugs. Have fun!
.TP
.B
Source Code Repository
https://git.rawtext.club/sloum/felise
https://tildegit.org/sloum/felise
.SH COPYRIGHT
Copyright (C) 2023 Brian Evans
.TP