libriscv 1.0.1
libriscv: ^1.0.1 copied to clipboard
A RISC-V emulator in pure Dart supporting RV32/RV64 with M, A, F, D, C extensions, virtual memory, SBI runtime, and Linux/xv6 boot.
We analyzed this package 3 days ago, and awarded it 150 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
545 out of 1203 API elements (45.3 %) have documentation comments.
Some symbols that are missing documentation: libriscv.BasicMemoryDevice.copyFromDevice, libriscv.BasicMemoryDevice.fillBytes, libriscv.BasicMemoryDevice.sliceAsDevice, libriscv.BasicMemoryMap.BasicMemoryMap.new, libriscv.CLINT.CLINT.new.
10/10 points: Package has an example
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:libriscv/libriscv.dartthat imports:package:libriscv/src/device/block/block_device.dartthat imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 141 issues. Showing the first 2:
INFO: The variable name 'RD' isn't a lowerCamelCase identifier.
lib/src/riscv/decoder/field_extractor.dart:9:31
╷
9 │ static final FieldExtractor RD = FieldExtractor(_generate(7, 11));
│ ^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/riscv/decoder/field_extractor.dart
INFO: The variable name 'RS1' isn't a lowerCamelCase identifier.
lib/src/riscv/decoder/field_extractor.dart:10:31
╷
10 │ static final FieldExtractor RS1 = FieldExtractor(_generate(15, 19));
│ ^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/riscv/decoder/field_extractor.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
^2.4.2 |
2.7.0 | 2.7.0 | |
dart_elf |
^1.0.1 |
1.0.2 | 1.0.2 | |
sprintf |
^7.0.0 |
7.0.0 | 7.0.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.14, Dart 3.12.2.
Check the analysis log for details.