nestor VS TypeScript

Compare nestor vs TypeScript and see what are their differences.

nestor

A parallel implementation of NESTOR in Python 3 (by AndrewOwenMartin)

TypeScript

TypeScript is a superset of JavaScript that compiles to clean JavaScript output. (by microsoft)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
nestor TypeScript
2 1,306
3 98,060
- 0.6%
0.0 9.9
over 3 years ago 6 days ago
Makefile TypeScript
- 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.

nestor

Posts with mentions or reviews of nestor. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2020-12-30.
  • Professor Donald Knuth on Writing and More, an Interview [pdf]
    4 projects | news.ycombinator.com | 30 Dec 2020
    (In fact his earlier non-literate TeX78 in the SAIL language was written as a bunch of separate modules rather than a single 25000-line file like the literate/"better" tex.web.)

    So that's a bit about the genesis of literate programming. Now about some of your other comments:

    - Your quote about top-down programming from literateprogramming.com is from the author of fweb, but actually Knuth himself doesn't advocate top-down programming. One of the things he likes about literate programming is that the program can be written in a mixture of bottom-up and top-down programming without being forced to commit to either; from studying many of his programs it's clear that his preference is to build things mostly bottom-up, though each small "layer" he may write top-down. (For example, in his TeX program he starts with "chapters" on string handling, arithmetic, memory allocation, data structures etc, building up to the main program as the climax of the book. Each "chapter", which is sometimes just a single function, is written top-down, more or less.)

    - You linked to how the PBRT book introduces literate programming, and said it shows noweb/LP is "still too mired by constraints of C", but it's just that the example they used for the idea of rearranging sections is one of overcoming some constraints of C using LP. (It's not really specific to C though; the same thing would apply whenever one had a lot of initialization to do in different places, like the giant object constructors one can see in many C++ codebases.)

    - Tastes are subjective, but IMO the program he wrote for Bentley's question of "top k most common words" (not his choice of problem!) is actually very interesting: it's an exposition of an ingenious data structure called a (packed) hash trie that has, to the best of my knowledge, never been described anywhere else, and which he probably made up on the spot for this problem. (Packed tries are described in an exercise in TAOCP and the TeX program uses them to store hyphenation patterns—his student Liang's thesis was about this—but packing them randomly using an open-addressing hash table seems to be a twist particular to this program.) I was planning to write a blog post last year illustrating this with pictures and all that, but never got around to it. I did write a translation into (non-literate) C++ here: https://codegolf.stackexchange.com/a/197870

    - Returning to a couple of your other comments and the phrase "top-down style associated with literate programming": I think another way of looking at this is historical. When Knuth learned to program, in machine code on an IBM 650 and later writing compilers in machine code (or with his own assemblers) other machines, even the idea of subroutines (with standard calling conventions and all that) was hardly well-established, which is why TAOCP Chapter 1 has, under 1.4 "Some Fundamental Programming Techniques" an explanation of what subroutines are. When "Structured Programming" took over in the 1970s (just the idea of using if/while/for and subroutines instead of arbitrary control-flow jumps), and even that Knuth is not still on board with. (If anyone is interested I'll write a blog post on Knuth's opinion on/defence of "goto", which he still uses.) Since then, the programming / software-engineering world at large has settled on certain ideas of structuring programs, in order to keep complexity manageable: the use of abstraction, encapsulation, modules, information-hiding, objects, avoiding global variable,s etc. In some sense what Knuth came up with for himself with WEB/CWEB is a wholesale alternative to all these ways of structuring programs. This seems to suffice for him, but for the rest of us it's a highly unfamiliar/unpalatable way of writing programs. This doesn't mean "Knuth is doing it wrong" in the sense of Kartik's post, because what you should take away as "Literate Programming" from reading his programs is not the diff w.r.t. how a modern programmer would it, but the diff w.r.t. how he would write it without LP. That is, if you take for granted that the program is going to have very few functions, lots of global variables, etc., the question is whether LP is a better way of writing or presenting that program than non-LP. (It seems yes, though even this is debatable. Besides, Knuth does say that without LP he'd probably write more levels of functions but with LP he doesn't "have to", so you may disagree with my assertion too.) You should instead look at examples of programs that a modern programmer inculturated in modern dogma wrote with and without LP. I imagine these days one might have better results searching for people using org-babel (rather than cweb/noweb), or the https://github.com/AndrewOwenMartin/nestor mentioned in another thread above, or codebase of/written in nbdev that came up recently (https://www.fast.ai/2019/12/02/nbdev/ , https://github.blog/2020-11-20-nbdev-a-literate-programming-...).

    - But that apart, returning once again to Knuth's own literate programs. I have struggled a lot with them. I'm sure there are many people who have understood more than me, but I suspect I have struggled more than anyone :D I had some grand plans to make it more readable etc (https://shreevatsa.net/tex/program), but eventually they started making more sense as they are. (I should update those pages…) The point is, literate programming does not necessarily mean writing code in a vacuum for readers who know nothing. Knuth does not imagine explaining language features (as you pointed out with the INFORM example in another comment here), and moreover he also assumes familiarity with his LP conventions (the overall structure of the program, how to use the index and flip back-and-forth) and even I think his usual programming conventions. So the fact that the ADVENTURE program has the source file's outline (with #includes and everything at the top) on the second page, with a typedef of the "boolean" type and a couple of general-purpose variables declared at the top of "main" (which will probably be (ab)used for lots of different purposes, I expect)—all of these are not a problem, for the "literate" reader. To Knuth, literate programming does not mean belabouring and explaining everything; it's just a way of structuring your program. And though he mentions reading the program like a book, he doesn't think of books as things to be read strictly word-for-word in the sequence they appear; he imagines reading any book non-linearly (looking up the index, flipping back-and-forth, skimming, etc) and that's how the programs are to be read too: the order is just more or less the "right" one, not strictly.

    About the ADVENTURE program in particular, let me post a separate comment as this is already very long.

TypeScript

Posts with mentions or reviews of TypeScript. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-05-06.
  • How and why do we bundle zx?
    9 projects | dev.to | 6 May 2024
    While we were fighting against the modules, we forgot one small detail - their built-in typings. Esbuild can't do this at all yet. Unbelievable, but the tsc, native TS compiler, also does not provide a typings concat feature. Got around this problem: we've introduced [a utility to combine typings](tsc-dts-fix of zx own code, and applied some monkey patches for external libdefs squashed via dts-bundle-generator.
  • JSR Is Not Another Package Manager
    2 projects | news.ycombinator.com | 25 Apr 2024
    Regular expressions are part of the language, so it's not so unreasonable that TypeScript should parse them and take their semantics into account. Indeed, TypeScript 5.5 will include [new support for syntax checking of regular expressions](https://github.com/microsoft/TypeScript/pull/55600), and presumably they'll eventually be able to solve the problem the GP highlighted on top of those foundations.
  • TypeScript Essentials: Distinguishing Types with Branding
    2 projects | news.ycombinator.com | 24 Apr 2024
    Dedicated syntax for creating unique subsets of a type that denote a particular refinement is a longstanding ask[2] - and very useful, we've experimented with implementations.[3]

    I don't think it has any relation to runtime type checking at all. It's refinement types, [4] or newtypes[5] depending on the details and how you shape it.

    [1] https://github.com/microsoft/TypeScript/blob/main/src/compil...

  • What is an Abstract Syntax Tree in Programming?
    13 projects | dev.to | 5 Apr 2024
    GitHub | Website
  • Smart Contract Programming Languages: sCrypt vs. Solidity
    2 projects | dev.to | 5 Apr 2024
    Learning Curve and Developer Tooling sCrypt is an embedded Domain Specific Language (eDSL) based on TypeScript. It is strictly a subset of TypeScript, so all sCrypt code is valid TypeScript. TypeScript is chosen as the host language because it provides an easy, familiar language (JavaScript), but with type safety. There’s an abundance of learning materials available for TypeScript and thus sCrypt, including online tutorials, courses, documentation, and community support. This makes it relatively easy for beginners to start learning. It also has a vast ecosystem with numerous libraries and frameworks (e.g., React, Angular, Vue) that can simplify development and integration with Web2 applications.
  • Understanding the Difference Between Type and Interface in TypeScript
    1 project | dev.to | 2 Apr 2024
    As a JavaScript or TypeScript developer, you might have come across the terms type and interface when working with complex data structures or defining custom types. While both serve similar purposes, they have distinct characteristics that influence when to use them. In this blog post, we'll delve into the differences between types and interfaces in TypeScript, providing examples to aid your understanding.
  • Type-Safe Fetch with Next.js, Strapi, and OpenAPI
    8 projects | dev.to | 2 Apr 2024
    TypeScript helps you in many ways in the context of a JavaScript app. It makes it easier to consume interfaces of any type.
  • Proposal: Types as Configuration
    1 project | news.ycombinator.com | 1 Apr 2024
  • How to scrape Amazon products
    4 projects | dev.to | 1 Apr 2024
    In this guide, we'll be extracting information from Amazon product pages using the power of TypeScript in combination with the Cheerio and Crawlee libraries. We'll explore how to retrieve and extract detailed product data such as titles, prices, image URLs, and more from Amazon's vast marketplace. We'll also discuss handling potential blocking issues that may arise during the scraping process.
  • Shared Tailwind Setup For Micro Frontend Application with Nx Workspace
    6 projects | dev.to | 29 Mar 2024
    TypeScript

What are some alternatives?

When comparing nestor and TypeScript you can also consider the following projects:

knuth-literate-programs - Examples of literate programming by Knuth

zod - TypeScript-first schema validation with static type inference

Flutter - Flutter makes it easy and fast to build beautiful apps for mobile and beyond

Tailwind CSS - A utility-first CSS framework for rapid UI development.

zx - A tool for writing better scripts

esbuild - An extremely fast bundler for the web

gray-matter - Smarter YAML front matter parser, used by metalsmith, Gatsby, Netlify, Assemble, mapbox-gl, phenomic, vuejs vitepress, TinaCMS, Shopify Polaris, Ant Design, Astro, hashicorp, garden, slidev, saber, sourcegraph, and many others. Simple to use, and battle tested. Parses YAML by default but can also parse JSON Front Matter, Coffee Front Matter, TOML Front Matter, and has support for custom parsers. Please follow gray-matter's author: https://github.com/jonschlinkert

Yup - Dead simple Object schema validation

Quasar Framework - Quasar Framework - Build high-performance VueJS user interfaces in record time

rescript-compiler - The compiler for ReScript.

linaria - Zero-runtime CSS in JS library

fp-ts - Functional programming in TypeScript