Commit Graph

61 Commits (main)

Author SHA1 Message Date
Tom Alexander 841a348dd0
Publish version 0.1.16.
format Build format has succeeded Details
clippy Build clippy has succeeded Details
rust-foreign-document-test Build rust-foreign-document-test has succeeded Details
rust-test Build rust-test has succeeded Details
build-organic Build build-organic has succeeded Details
1 month ago
Tom Alexander b35a2d5f5a
Fix debug assert.
rustfmt Build rustfmt has failed Details
rust-foreign-document-test Build rust-foreign-document-test has failed Details
rust-test Build rust-test has failed Details
clippy Build clippy has failed Details
rust-build Build rust-build has failed Details
1 month ago
Tom Alexander 320b5f8568
Publish version 0.1.15.
clippy Build clippy has succeeded Details
rustfmt Build rustfmt has succeeded Details
rust-foreign-document-test Build rust-foreign-document-test has succeeded Details
rust-build Build rust-build has succeeded Details
rust-test Build rust-test has succeeded Details
4 months ago
Tom Alexander 8406d37991
Switch to using JSON for wasm.
rust-build Build rust-build has failed Details
clippy Build clippy has failed Details
rustfmt Build rustfmt has succeeded Details
rust-foreign-document-test Build rust-foreign-document-test has succeeded Details
rust-test Build rust-test has succeeded Details
serde_wasm_bindgen was silently dropping many attributes (I suspect it is triggered by serde flatten) so this switches to serializing to JSON for passing values from wasm to js.
4 months ago
Tom Alexander 068864ea87
Publish version 0.1.14.
clippy Build clippy has succeeded Details
rustfmt Build rustfmt has succeeded Details
rust-foreign-document-test Build rust-foreign-document-test has succeeded Details
rust-build Build rust-build has succeeded Details
rust-test Build rust-test has succeeded Details
5 months ago
Tom Alexander 52cb81e75e
Cleanup.
clippy Build clippy has succeeded Details
rust-foreign-document-test Build rust-foreign-document-test has succeeded Details
rust-build Build rust-build has succeeded Details
rust-test Build rust-test has succeeded Details
5 months ago
Tom Alexander 9a13cb72c6
Make the wasm test binary async. 5 months ago
Tom Alexander 65abaa332f
Separate out the wasm test into its own feature/binary. 5 months ago
Tom Alexander bbb9ec637a
Add code to test the wasm code path without actually dropping into wasm. 5 months ago
Tom Alexander 2d5593681f
Start defining the return type. 5 months ago
Tom Alexander b3f97dbb40
Add wasm-bindgen. 5 months ago
Tom Alexander a48d76321e
Building basic wasm. 5 months ago
Tom Alexander 59222c58b1
Publish version 0.1.13.
rustfmt Build rustfmt has succeeded Details
clippy Build clippy has succeeded Details
rust-build Build rust-build has succeeded Details
rust-foreign-document-test Build rust-foreign-document-test has succeeded Details
rust-test Build rust-test has succeeded Details
5 months ago
Tom Alexander 503db94b2c
Publish version 0.1.12.
rustfmt Build rustfmt has succeeded Details
clippy Build clippy has succeeded Details
rust-foreign-document-test Build rust-foreign-document-test has succeeded Details
rust-build Build rust-build has succeeded Details
rust-test Build rust-test has succeeded Details
7 months ago
Tom Alexander a2f53361eb
Record element start events and report them when the event_count feature is enabled. 7 months ago
Tom Alexander acc29e7977
Publish version 0.1.11.
rustfmt Build rustfmt has succeeded Details
clippy Build clippy has succeeded Details
rust-build Build rust-build has succeeded Details
rust-foreign-document-test Build rust-foreign-document-test has failed Details
rust-test Build rust-test has succeeded Details
7 months ago
Tom Alexander 547fc40dbe
No measurable performance improvement with native builds over LTO release builds.
rustfmt Build rustfmt has succeeded Details
rust-foreign-document-test Build rust-foreign-document-test has failed Details
rust-build Build rust-build has succeeded Details
rust-test Build rust-test has succeeded Details
Leaving the code for this commented out because it involved an unstable cargo feature without showing any benefit. I would like to revisit this later.
7 months ago
Tom Alexander 4b54f95087
Publish version 0.1.10.
rustfmt Build rustfmt has succeeded Details
rust-build Build rust-build has succeeded Details
rust-foreign-document-test Build rust-foreign-document-test has failed Details
rust-test Build rust-test has succeeded Details
7 months ago
Tom Alexander ddb3144e66
Fix the tests.
rust-build Build rust-build has failed Details
rust-foreign-document-test Build rust-foreign-document-test has failed Details
rust-test Build rust-test has succeeded Details
7 months ago
Tom Alexander 2de33b8150
Enable release-lto profile on foreign document test. 7 months ago
Tom Alexander e1fde88a60
Switch to using tokio too invoke emacs async. 7 months ago
Tom Alexander c20e7b5f2f
Make compare an always-async program.
This program is used as a development tool, so it is more valuable that we make it simple by only supporting one mode of operation (async) than making it widely compatible by supporting both.
7 months ago
Tom Alexander 3e7e54a1bd
Add the foreign_document_test to the build tests. 7 months ago
Tom Alexander 8a26965e14
Write a function to compare all org-mode files in a directory. 7 months ago
Tom Alexander b0b795d13b
Limit concurrency of running tests. 7 months ago
Tom Alexander 182c2737cd
Add futures. 7 months ago
Tom Alexander d7e870cba1
Starting to make result structs. 7 months ago
Tom Alexander fd141762f0
Start a rust-based foreign document test.
Instead of using a simple bash script, this will use async rust to run multiple tests in parallel.
7 months ago
Tom Alexander e673aa862e
Publish version 0.1.9.
rustfmt Build rustfmt has succeeded Details
rust-build Build rust-build has succeeded Details
rust-test Build rust-test has succeeded Details
rust-foreign-document-test Build rust-foreign-document-test has succeeded Details
8 months ago
Tom Alexander de87b7df93
Publish version 0.1.8.
rustfmt Build rustfmt has succeeded Details
rust-build Build rust-build has succeeded Details
rust-test Build rust-test has succeeded Details
rust-foreign-document-test Build rust-foreign-document-test has succeeded Details
8 months ago
Tom Alexander 26f41b83aa
Publish version 0.1.7.
rustfmt Build rustfmt has succeeded Details
rust-test Build rust-test has succeeded Details
rust-build Build rust-build has succeeded Details
rust-foreign-document-test Build rust-foreign-document-test has succeeded Details
8 months ago
Tom Alexander de7ad182b3
Make parse and compare their own binaries.
rustfmt Build rustfmt has succeeded Details
rust-test Build rust-test has succeeded Details
rust-build Build rust-build has succeeded Details
rust-foreign-document-test Build rust-foreign-document-test has succeeded Details
This ensures that both code paths are capable of being parsed by rust-analyzer simultaneously and I think it will be less confusing to newcomers.
8 months ago
Tom Alexander 612744ebd0
Publish version 0.1.6.
rustfmt Build rustfmt has succeeded Details
rust-test Build rust-test has succeeded Details
rust-build Build rust-build has succeeded Details
rust-foreign-document-test Build rust-foreign-document-test has succeeded Details
8 months ago
Tom Alexander d90ff5891b
Publish version 0.1.5.
rustfmt Build rustfmt has succeeded Details
rust-test Build rust-test has succeeded Details
rust-foreign-document-test Build rust-foreign-document-test has succeeded Details
rust-build Build rust-build has succeeded Details
9 months ago
Tom Alexander f16a554154
Handle org-mode documents passed as args.
We were running into issues where the documents grew too large for being passed as a string to emacs, and we need to handle #+setupfile so we need to start handling org-mode documents as files and not just as anonymous streams of text.

The anonymous stream of text handling will remain because the automated tests use it.
9 months ago
Tom Alexander db3086743c
Publish version 0.1.4.
rustfmt Build rustfmt has succeeded Details
rust-test Build rust-test has succeeded Details
rust-build Build rust-build has succeeded Details
9 months ago
Tom Alexander 28aca041f7
Publish version 0.1.3.
rustfmt Build rustfmt has failed Details
rust-test Build rust-test has failed Details
rust-build Build rust-build has succeeded Details
9 months ago
Tom Alexander f25dbc1d7c
Add a script for testing organic parse times.
rustfmt Build rustfmt has succeeded Details
rust-test Build rust-test has succeeded Details
rust-build Build rust-build has succeeded Details
This is not meant to produce publishable or comparable benchmarks. Such a script would have to run many iterations with the input already loaded into memory, proper prioritization via nice/ionice, and have a warm-up phase. This is just automating a basic test I am frequently running to compare parse times when investigating performance issues.
9 months ago
Tom Alexander 655af88cdf
Add scripts for running perf and callgrind. 9 months ago
Tom Alexander df5ee5af16
Explicitly list which files to include in the cargo package.
rust-build Build rust-build has failed Details
rust-test Build rust-test has failed Details
rustfmt Build rustfmt has succeeded Details
We are including a bunch of files that are not needed for running the rust code. This excludes them to be a better citizen to both crates.io and all users of this package.
9 months ago
Tom Alexander 012c192aed
Bump version to 0.1.2 and change README to markdown.
rustfmt Build rustfmt has succeeded Details
crates.io does not support org-mode for README files so I am changing this to markdown.
9 months ago
Tom Alexander 290a700a22
New, updated opentelemetry tracing exporter. 9 months ago
Tom Alexander 1f10d3d064
Disable all the old tracing stuff. 9 months ago
Tom Alexander 77de97703f
Remove all the old references to "toy language"
This is a relic from the early development days in this repo. When I first started this repo, it was a clean-slate playground to test ideas for solving the road blocks I hit with my previous attempt at an org-mode parser. To keep things simple, I originally only had a very basic set of syntax rules that only vaguely looked similar to org-mode. Once I had things figured out, I kept developing in this repo, morphing it into a full org-mode parser. A couple of references to those early days still remained, and this patch should get rid of the last of them.
9 months ago
Tom Alexander 6941825e75
Fix package category.
rustfmt Build rustfmt has succeeded Details
rust-test Build rust-test has succeeded Details
10 months ago
Tom Alexander 8a221e0e0d
Add metadata for publishing crate. 10 months ago
Tom Alexander 79ac835641
Fix package name.
semver Build semver has succeeded Details
rustfmt Build rustfmt has succeeded Details
rust-test Build rust-test has succeeded Details
10 months ago
Tom Alexander b557b9ca5d
Accounting for the blank lines at the head of documents and comments plus property drawer at the head of the zeroth section. 1 year ago
Tom Alexander 1deb53f1a3
Add the binary back in because we need it for generating jaeger traces. 1 year ago
Tom Alexander 18f8e2562e
Remove the old toy language binary.
Using the org_mode_samples integration tests through the rust test framework has removed the need for the toy language binary and I think removing it will make rust-analyzer less confused about imports. This repository is now solely a library repository.
1 year ago