reko | Jint | |
---|---|---|
9 | 24 | |
1,959 | 3,921 | |
- | - | |
9.6 | 9.1 | |
14 days ago | 6 days ago | |
C# | C# | |
GNU General Public License v3.0 only | BSD 2-clause "Simplified" License |
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.
reko
-
Educating myself about Monitor Firmware --
In the zip are 3 firmwares, NXP, PD and Scalar. NXP is the USB microcontroller that's used to update the scalar firmware, and PD is for USB-C stuff. The scalar firmware's name was 28MQ780_MSTAR_MST9W00V4_V3.3.0_0x12FBF031_shad4015bb_220317.bin, which already gave me a few more data points, specifically the chip that's used, the MStar MST9W00V4. Eventually I found this extremely annoying post which had the compiler used for the chip and this page telling me that my scalar's CPU architecture was proprietary, but based on OpenRisc. It turned out that the stars had aligned or something and there were no less than 3 people interested in this particular ISA in the last 3 weeks, because someone else had asked about it and apparently a niche disassembler added partial support for it.
- Why .net has 3 times more jobs than nodejs and spring boot?
- Reko decompiler 0.11.2 released
- .NET is often seen as corporate and boring – What are some interesting/cool/unique projects and people?
- Reko decompiler v0.11.0 released
- Which project are you guys doing ?
-
Reko decompiler v0.10.0 released
Reko has the ambition of supporting decompilation of various processor architectures and executable file formats with minimal user intervention. For a complete list, see the supported binaries page.
-
Looking for a guide to write a compiler.
For some examples of hand-written parsers in C#, take a look at my project https://github.com/reko. There is both a C and a Pascal parser, located at https://github.com/uxmal/reko/tree/master/src/Core/CLanguage and https://github.com/uxmal/reko/tree/master/src/Core/Pascal, respectively. DM me if you're curious, I be glad to tutor.
Jint
- Jint – A JavaScript Interpreter for .NET
-
Is there a way to dynamically interpret a string as javascript within a C# winforms program?
Jint https://github.com/sebastienros/jint
- Any framework/library for validating arbitrary code?
-
Scripting inside Rimworld with Unity: Impossible? With java it is a 3 liner.
There are quite a lot of ways to run scripting languages in C#. I've no idea what JSR223 is but .NET has DLR for example. There are also multiple libraries: IronPython, NLua, Jint and Jurassic for Javascript. There's also older version of CS-Script working with .NET Framework.
-
Is there any way to use Javascript to code in Unity anymore?
You can. Embeding lua is a trivial task, and I'm reasonably sure there even are plug-and-play solutions for that, and for JS there's JINT.
-
Running custom code from users
I personally use Jint (a multi-platform Javascript interpreter) since Roslyn is not available on mobile. It basically has the same kind of functionality as Roslyn, but it's JS. JS is well-known and accessible to everybody, but Roslyn might be faster since there's no double indirection when interpreting the script. It also depends on what language your users are comfortable with or could learn easily.
-
Classic BBS (code in comments)
Ah yeah, I looked into it more and decompiled the game to find that it appears they're using Jint to interpret the Javascript, and from testing with someone's REPL BBS server I can find that it's a pretty well isolated environment. Only ways around it I can think of are by exploiting some vulnerability in the sandbox to do external requests, modding the game itself to update the api, or running a parallel server to do some janky communication through the save state data.
-
.NET-compatible scripting languages for users to write their own scripts to query/manipulate objects/properties in the app
We used https://github.com/sebastienros/jint for scripting, it's ES5 JS implementation.
-
The experience of creating my own JavaScript runtime - #2
Jint is a JS interpreter with an integrated engine built in C#, like V8, he is responsible for all the base code execution as well as EcmaScript implementations such as default constructors, syntax, Promises... I studied its features in depth to start and it was a bit hard (in the beginning).
-
The experience of creating my own JavaScript runtime - #1
MelonRuntime is based on Jint, a JavaScript interpreter created by Sébastien Ros, software developer in the ASP.NET team at Microsoft. Melon works from bindings and functionalities injected into this interpreter together with external typing (provided by another package that comes with the default project generated by the command npx melon new) and built-in tools.
What are some alternatives?
ILSpy - .NET Decompiler with support for PDB generation, ReadyToRun, Metadata (&more) - cross-platform!
Jurassic - A .NET library to parse and execute JavaScript code.
ArnoldC - Arnold Schwarzenegger based programming language
Jering.Javascript.NodeJS - Invoke Javascript in NodeJS, from C#
x64dbg - An open-source user mode debugger for Windows. Optimized for reverse engineering and malware analysis.
Edge.js - Run .NET and Node.js code in-process on Windows, MacOS, and Linux
lbForth - Self-hosting metacompiled Forth, bootstrapping from a few lines of C; targets Linux, Windows, ARM, RISC-V, 68000, PDP-11, asm.js.
ReactJS.NET - .NET library for JSX compilation and server-side rendering of React components
capstone - Capstone disassembly/disassembler framework: Core (Arm, Arm64, BPF, EVM, M68K, M680X, MOS65xx, Mips, PPC, RISCV, Sparc, SystemZ, TMS320C64x, Web Assembly, X86, X86_64, XCore) + bindings. [Moved to: https://github.com/capstone-engine/capstone]
Enums.NET - Enums.NET is a high-performance type-safe .NET enum utility library
RemoteNET - Examine, create and interact with remote objects in other .NET processes.
Outcome.NET - Never write a result wrapper again! Outcome.NET is a simple, powerful helper for methods that return a value, but sometimes also need to return validation messages, warnings, or a success bit.