small docs updates, add trailing slash to autocompleted directories
This commit is contained in:
parent
8ba80979f8
commit
09b032271b
3 changed files with 15 additions and 15 deletions
17
Readme.org
17
Readme.org
|
|
@ -485,10 +485,11 @@ Note: this section only tracks the state of incomplete TODO items. Having everyt
|
||||||
- Shell module (see branch: fully-interactive-shell)
|
- Shell module (see branch: fully-interactive-shell)
|
||||||
- be able to fg a bg process
|
- be able to fg a bg process
|
||||||
- be able to list all background processes with j function
|
- be able to list all background processes with j function
|
||||||
- be able to bg and fg process (ctrl z?)
|
|
||||||
- Documentation!
|
- Documentation!
|
||||||
- logging library
|
- Dogfood this for quite some time
|
||||||
- make const all the error messages
|
- env prints without using columns
|
||||||
|
- circuit should actually be (reduce (lambda (form state) (and state (bool form))) my-args)
|
||||||
|
- rename STL to SLL (standard list library)
|
||||||
- make presentation on relish
|
- make presentation on relish
|
||||||
- lisp basics
|
- lisp basics
|
||||||
- s expressions
|
- s expressions
|
||||||
|
|
@ -528,20 +529,21 @@ Note: this section only tracks the state of incomplete TODO items. Having everyt
|
||||||
- store in repo after giving presentation
|
- store in repo after giving presentation
|
||||||
|
|
||||||
** TODO v1.0 tasks
|
** TODO v1.0 tasks
|
||||||
- export function (dump symbol definitions to script and/or append)
|
- finish basic goals in file:snippets/interactive-devel.rls
|
||||||
- then write doc on interactive development
|
- then write doc on interactive development
|
||||||
|
- lambdas shouldn't hit the env
|
||||||
- Write next_has member function for &Seg and simplify stdlib and probably also eval/sym
|
- Write next_has member function for &Seg and simplify stdlib and probably also eval/sym
|
||||||
- Rename to Flesh
|
- Rename to Flesh
|
||||||
- Can pass args to relish scripts (via interpreter)
|
- Can pass args to relish scripts (via interpreter)
|
||||||
- Can pass args to relish scripts (via command line)
|
- Can pass args to relish scripts (via command line)
|
||||||
- History length configurable
|
- History length configurable
|
||||||
- Search delim configurable
|
- Search delim configurable
|
||||||
- master branch -> main branch
|
|
||||||
- Create a dedicated community channel on matrix.sunnypup.io
|
- Create a dedicated community channel on matrix.sunnypup.io
|
||||||
- Lex function
|
- Lex function
|
||||||
- Read function (Input + Lex)
|
- Read function (Input + Lex)
|
||||||
|
|
||||||
** TODO v1.1 tasks
|
** TODO v1.1 tasks
|
||||||
|
- finish stretch goals in file:snippets/interactive-devel.rls
|
||||||
- execute configurable function on cd
|
- execute configurable function on cd
|
||||||
- Post to relevant channels
|
- Post to relevant channels
|
||||||
- Custom ast pretty print
|
- Custom ast pretty print
|
||||||
|
|
@ -561,6 +563,5 @@ Note: this section only tracks the state of incomplete TODO items. Having everyt
|
||||||
- TCP Listener
|
- TCP Listener
|
||||||
- HTTP Listener
|
- HTTP Listener
|
||||||
- UDP Listener
|
- UDP Listener
|
||||||
- emacs syntax highlighting and/or LSP implementation
|
- Emacs syntax highlighting and/or LSP implementation
|
||||||
- GNU Guix package
|
- Bindings for the simplest possible UI library?
|
||||||
- Bindings for the simplest possible UI library
|
|
||||||
|
|
|
||||||
|
|
@ -30,22 +30,21 @@
|
||||||
(def set
|
(def set
|
||||||
'sets an existing variable without touching its docstring.
|
'sets an existing variable without touching its docstring.
|
||||||
|
|
||||||
WARNING: abandon hope all ye who declare and then modify global variables!
|
WARNING:
|
||||||
If you find yourself struggling to debug a complex error in state access,
|
If you find yourself struggling to debug a complex error in state access,
|
||||||
or you are having issues re-running commands in the shell consider the
|
or you are having issues re-running commands in the shell consider the
|
||||||
following advice:
|
following advice:
|
||||||
|
|
||||||
It is very much an anti pattern to mutate global variable that contain state
|
It is very much an anti pattern to mutate global variable that contain state.
|
||||||
refactor your program: put iterators, counters, procedurally generated code,
|
refactor your program: put iterators, counters, procedurally generated code,
|
||||||
and all other mutable state into a let loop.
|
and all other mutable state into a let loop.
|
||||||
|
|
||||||
A zen script in relish is one where each root level form (or eval at repl)
|
A cozy script in relish is one where each root level form (or eval at repl)
|
||||||
is self contained, and does not permanently modify any other one.
|
is self contained, and does not permanently modify any other one.
|
||||||
|
|
||||||
See the userlib tests for an easy to follow example of this.'
|
See the userlib tests for an easy to follow example of this.'
|
||||||
|
|
||||||
(var val)
|
(var val)
|
||||||
|
|
||||||
(let ((doc (get-doc var)))
|
(let ((doc (get-doc var)))
|
||||||
(def (eval var) doc val)))
|
(def (eval var) doc val)))
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -148,14 +148,14 @@ impl Completer for CustomCompleter {
|
||||||
.as_os_str()
|
.as_os_str()
|
||||||
.to_str()
|
.to_str()
|
||||||
.expect("bad dir somehow?")
|
.expect("bad dir somehow?")
|
||||||
.to_owned(),
|
.to_owned() + "/",
|
||||||
description: None,
|
description: None,
|
||||||
extra: None,
|
extra: None,
|
||||||
append_whitespace: false,
|
|
||||||
span: Span {
|
span: Span {
|
||||||
start,
|
start,
|
||||||
end: pos
|
end: pos
|
||||||
}
|
},
|
||||||
|
append_whitespace: false
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue