TX-2-simulator
Simulator for the pioneering TX-2 computer (by TX-2)
logos
Create ridiculously fast Lexers (by maciejhirsz)
TX-2-simulator | logos | |
---|---|---|
17 | 15 | |
19 | 2,646 | |
- | - | |
6.2 | 8.3 | |
7 days ago | 7 days ago | |
Rust | Rust | |
MIT License | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
TX-2-simulator
Posts with mentions or reviews of TX-2-simulator.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-07-06.
-
In search of Rust projects to contribute
Source code
-
I want to contribute in a big project
You could implement some opcodes at https://github.com/TX-2/TX-2-simulator
-
Examples of function-based parsers in chumsky? Examples of unit tests?
Thanks to /u/TGSCrust I've got things working now. In case anybody else is interested in this, I now have a complete working example.
-
Should I revisit my choice to use nom?
I've been working on an assembler and right now it uses nom. While nom isn't great for error messages, good error messages will be important for this particular assembler (current code), so I've been attempting to use the methods described by Eyal Kalderon in Error recovery with parser combinators (using nom).
-
I'm ex-FAANG with 8 YOE and have been rejected by every company I've interviewed for
Here's an example of a tape loader program from a very fancy machine, the TX-2. The TX-2 was fancy in a lot of ways, but most relevantly here because the tape loader code was set up permanently on a plugboard instead of having to be toggled in at boot time. The TX-2 is interesting and important because it was the machine that Ivan Sutherland's Sketchpad ran on.
-
Hey! TS dev looking for Rust project to begin.
https://github.com/TX-2/TX-2-simulator is written in a combination of Rust and Typescript. It's not finished yet, and the UI needs lots of improvement.
-
Looking for Open Source Libraries
https://github.com/TX-2/TX-2-simulator could really use some help
-
How to deploy wasm rust website on github pages
This github workflow builds this project and deploys it to the gh-pages branch of this project whose main branch isn't interesting.
-
Learning rust question
If you're interested, please take a look at the TX-2 project's website and, if you like, the source code. If you haven't eaten in the last hour or so, you might also find it interesting to take a look at the online demo. There's a collection of "good first issue" items too.
-
getting into the subject
TX-2 (code)
logos
Posts with mentions or reviews of logos.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-07-11.
-
Beating the fastest lexer generator in Rust
This is mighty impressive! I've been trying to get some motivation for the mythical rewrite of the proc macro in Logos, and this might just do it for me :D. I'll have a proper look later today and see if any of your findings have something that can be generalized. Also really surprised to see aarch64 doing better than x86_64 since the latter is what I've been optimizing for!
-
Letlang — Roadblocks and how to overcome them - My programming language targeting Rust
Rust is a very nice langage for implementing compilers, and has a nice ecosystem for it (logos, rust-peg, lalrpop, astmaker -- this one is mine --, etc...).
-
loxcraft: a compiler, language server, and online playground for the Lox programming language
rust-langdev has a lot of libraries for building compilers in Rust. Perhaps you could use these to make your implementation easier, and revisit it later if you want to build things from scratch. I'd suggest logos for lexing, LALRPOP / chumsky for parsing, and rust-gc for garbage collection.
-
Logos 0.13 released
Thanks! For compile times you might find the CLI version that Andrew Hickman contributed useful, it's undocumented still mostly I fear but shouldn't be hard to use, see original PR: https://github.com/maciejhirsz/logos/pull/248
-
Should I revisit my choice to use nom?
For my lexer generation purposes, I tend to use https://github.com/maciejhirsz/logos, as it not only generates an easy to use lazy lexer, but the result is also exceptionally fast!
-
Position in rowan
Hi, I'm using rowan to create a parser and want to print more useful error messages with position in the text/file. I'm using logos (https://crates.io/crates/logos) to generate the lexer. Is there a way to get the starting and ending positions of a SyntaxToken? If not I thought of adding my own wrapper struct around the SyntaxTokens.
-
Hey Rustaceans! Got a question? Ask here (6/2023)!
Is there a way for a lexer created with the logos crate (https://crates.io/crates/logos) to get the starting and ending positions for the tokens?
-
Best resources for a rust interpreter?
I wouldn't recommend Logos at this point. This recent bug is quite nasty and seems easy to hit, and the maintainer is unresponsive. Last commit was half a year ago. At this point I consider Logos abandonware, though it would be great if its development continued, or if it were forked.
-
Alternatives for "blazingly fast"
logos uses "ridiculously fast".
- Compiler in Rust
What are some alternatives?
When comparing TX-2-simulator and logos you can also consider the following projects:
mfcc-rust
foundation.rust-lang.org - website for Rust Foundation
wg - Coordination repository of the embedded devices Working Group
schema-registry - Confluent Schema Registry for Kafka
felix - 🐱 Experimental operating system written in Rust
book - The Rust Programming Language
nom - Rust parser combinator framework
lexgen - A fully-featured lexer generator, implemented as a proc macro
madsim - Magical Deterministic Simulator for distributed systems in Rust.
sonyflake-rs - 🃏 A distributed unique ID generator inspired by Twitter's Snowflake.
openWakeWord - An open-source audio wake word (or phrase) detection framework with a focus on performance and simplicity.
hush - Hush is a unix shell based on the Lua programming language