Simon Michael
3b8bec7522
dev: make; comment out unused breakpoint plugin
2022-12-22 19:07:40 -10:00
Simon Michael
1ea2bcc83f
imp: journal: also parse (lot notes) in amounts (ledger compat)
...
and rename lotpricep -> lotcostp
and instrument some amount parsers for debugging with megaparsec's dbg
2022-12-22 19:07:40 -10:00
Simon Michael
aa54c3273a
dev: lib: clarify some amount parsers; describe Ledger lot notation
...
amountpwithmultiplier -> amountp'
amountpnolotpricesp -> amountnobasisp
amountwithoutpricep -> simpleamountp
priceamountp -> costp
2022-12-22 09:15:43 -10:00
Simon Michael
04d5813a41
dev: ci: exclude the excluded func tests in CI too
2022-12-22 09:15:43 -10:00
Simon Michael
b1e08ffe46
imp: journal: python directive also consumes empty lines (ledger compat)
2022-12-22 02:30:29 -10:00
Simon Michael
23d25c8403
dev: ledger-compat tests: cleanups
2022-12-22 02:13:08 -10:00
Simon Michael
e2ddf1e685
imp: add "since" as a synonym of "from" in period expressions (ledger compat)
2022-12-22 02:12:25 -10:00
Simon Michael
85e9fbcf7d
imp: journal: allow an empty double-quoted commodity symbol
...
"" is equivalent to writing no symbol.
But it's now possible to declare market prices for the no-symbol
commodity, which occurs eg with timedot data.
P 2022-01-01 "" $100
2022-12-22 01:53:06 -10:00
Simon Michael
a070875fe6
imp: journal: ignore end apply year, end apply tag, drop "pop" (ledger compat)
2022-12-22 01:50:27 -10:00
Simon Michael
a5d6b42322
imp: journal: ignore end apply fixed, end apply tag directives (ledger compat)
2022-12-22 01:12:56 -10:00
Simon Michael
af5645ebb7
imp: journal: ignore python, eval directives (ledger compat)
2022-12-22 00:50:43 -10:00
Simon Michael
2e77586d1b
imp: journal: ignore value directives (ledger compat)
2022-12-22 00:38:51 -10:00
Simon Michael
fb7134c9a0
imp: journal: ignore tag subdirectives (ledger compat)
2022-12-22 00:34:33 -10:00
Simon Michael
c58b9e6ac9
imp: journal: accept apply year
as another synonym for Y
(ledger compat)
2022-12-22 00:27:35 -10:00
Simon Michael
2357a7a750
dev: journal: ignore CLI flags in journal
2022-12-21 23:40:43 -10:00
Simon Michael
aa5323e6ed
dev: journal: update ledger-unsupported, directives tests
2022-12-21 23:20:02 -10:00
Simon Michael
9bac3950af
dev: make functest: exclude failing ledger compat tests
2022-12-21 23:09:00 -10:00
Simon Michael
abd104ccee
imp: journal: ignore more ledger directives (ledger compat)
...
apply fixed, apply tag, assert, bucket, A, capture, check, define, expr
And reorder the directivep parsers.
2022-12-21 23:04:58 -10:00
Simon Michael
e09ab0936a
imp: journal: accept @ as a prefix of directives (ledger compat)
2022-12-21 22:56:32 -10:00
Simon Michael
95d7679f6d
imp: journal: accept year
as a synonym for Y
(ledger compat)
2022-12-21 22:27:08 -10:00
Simon Michael
826a7cfb2a
imp: journal: ignore payee subdirectives
2022-12-21 22:09:15 -10:00
Simon Michael
bf6a2a7ccf
imp: journal: ignore commodity subdirectives other than format
2022-12-21 22:08:54 -10:00
Simon Michael
a454b47ad9
;dev: journal: better account subdirectives test
2022-12-21 22:01:40 -10:00
Simon Michael
befded96d2
;dev: journal: test all h/ledger syntax by status: main, other, unsupported
2022-12-21 17:12:33 -10:00
Simon Michael
03d0799f2f
;doc: CREDITS: update for 2021q4/2022
2022-12-21 15:07:42 -10:00
Simon Michael
9149a9b0f3
;doc: cli: cheatsheet: tweaks
2022-12-21 14:35:35 -10:00
Simon Michael
d3b99e9c95
;doc: cli: cheatsheet: directives cleanup
2022-12-21 09:05:56 -10:00
Simon Michael
1003cdb142
;doc: cli: cheatsheet: directives cleanup
2022-12-21 08:56:12 -10:00
Simon Michael
d97259b275
;doc: cli: split journal syntax into "main" and "other"
...
This comes from a review of journal syntax, in preparation for
supporting more Ledger syntax.
To reduce overload for learners, I have trimmed the "main" feature
list, and de-emphasised a number of my not-so-favourite features by
moving them under "Other syntax", with downsides noted for good
measure. Secondary dates, balance assignments, and auto postings
are some of the de-emphasised features.
2022-12-21 08:11:08 -10:00
Simon Michael
704d52cfeb
;doc: cli: add a cheatsheet showing all the main journal syntax
...
This comes from a review of journal syntax, in preparation for
supporting more Ledger syntax. I think these are the most important
syntax features to teach. See next commit for a corresponding cleanup
of the docs.
2022-12-21 08:11:03 -10:00
Simon Michael
a65e601bcd
;dev: ledger compat tests: README
2022-12-18 12:25:52 -10:00
Simon Michael
c3e17db23e
;dev: ledger compat tests: improve org outline navigability
...
fixup:
2022-12-18 12:25:47 -10:00
Simon Michael
15646ab999
;dev: convert ledger compat tests to individual shell tests
...
Also comment ledger's tests more robustly,
and log as an org outline.
2022-12-18 11:50:15 -10:00
Simon Michael
7195cebbb0
;dev: cli: ledger-compat: ignore tests expecting failure
2022-12-18 08:32:27 -10:00
Simon Michael
b20c3e1036
;doc: cli: add a BC anchor for #transaction-prices
2022-12-18 07:54:08 -10:00
Simon Michael
ccb553197f
;dev: cli: ledger tests: replace runner with shelltest
2022-12-18 01:33:38 -10:00
Simon Michael
688c56aa90
;dev: cli: ledger tests: runner improvements
2022-12-18 01:33:10 -10:00
Simon Michael
470e906e97
;dev: cli: ledger tests: summary, failures
2022-12-18 01:33:10 -10:00
Simon Michael
1b56687708
;dev: cli: ledger tests: move test runner up, start collected tests
2022-12-18 01:33:10 -10:00
Simon Michael
370948a357
;dev: cli: ledger tests: add a test runner
2022-12-18 01:33:10 -10:00
Simon Michael
5cc0080776
;dev: cli: ledger tests: snapshot of ledger regress tests' data
2022-12-18 01:33:10 -10:00
Simon Michael
caffb22320
;dev: cli: a snapshot of ledger's baseline functional tests' data
...
;dev: cli: ledger tests: comment out all but the sample data
2022-12-18 01:33:04 -10:00
Simon Michael
faa5f00f1a
;doc: cli: more guidance on comments
2022-12-17 07:53:58 -10:00
Simon Michael
40df381cb2
;doc: cli: better directives quick link
2022-12-17 07:23:38 -10:00
Simon Michael
ae87b1efd5
fix: web: add form's typeahead now shows non-ascii text correctly ( #1961 )
...
(Fix contributed by Arsen Arsenović)
2022-12-16 12:48:42 -10:00
Simon Michael
331b419c97
;doc: cli: improve Directives summaries
2022-12-16 12:48:42 -10:00
Simon Michael
9004372e3c
;doc: fix pandoc rendering issue caused by blank line in m4 file
2022-12-14 21:37:57 -10:00
Simon Michael
1ac5c0b03e
;doc: web: fix typo in macro
2022-12-14 21:26:23 -10:00
Simon Michael
f6c865bbab
;doc: cli: introduction improvements
2022-12-14 12:23:44 -10:00
Simon Michael
43023d3d86
;doc: some changes to hledger and input files description macros
2022-12-14 12:23:10 -10:00