Code Monkey home page Code Monkey logo

rust.cpclib's Issues

Can not compile cpclib-disc

Hello,

When calling cargo build in cpclib-disc directory, I got this errors :

error[E0557]: feature has been removed
 --> cpclib-disc/src/lib.rs:1:12
  |
1 | #![feature(register_attr)]
  |            ^^^^^^^^^^^^^ feature has been removed
  |
  = note: removed in favor of `#![register_tool]`

error: cannot find attribute `register_attr` in this scope
 --> cpclib-disc/src/lib.rs:2:4
  |
2 | #![register_attr(get)]
  |    ^^^^^^^^^^^^^ help: a built-in attribute with a similar name exists: `register_tool`

Fix `palette!` macro

It fails when used in one project:

56 |           let palette = palette![
   |  _______________________^
57 | |                 "black".to_owned(),
58 | |                 "blue".to_owned(), "bright blue".to_owned(), "sky blue".to_owned(),
59 | |                 "red".to_owned(), "bright red".to_owned(), "purple".to_owned(),
60 | |                 "green".to_owned(), "bright green".to_owned(), "pastel green".to_owned()
61 | |         ];
   | |_________^ the trait `num_integer::Integer` is not implemented for `&cpc::Pen`

Allow a BaseListing to be printed

Fix this issue

error[E0277]: `BaseListing<cpclib::cpclib_asm::preamble::Token>` doesn't implement `std::fmt::Display`
  --> src/emiter.rs:71:40
   |
71 |             writeln!(f, "{}\n{}", key, code)?;
   |                                        ^^^^ `BaseListing<cpclib::cpclib_asm::preamble::Token>` cannot be formatted with the default formatter
   |
   = help: the trait `std::fmt::Display` is not implemented for `BaseListing<cpclib::cpclib_asm::preamble::Token>`
   = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
   = note: required because of the requirements on the impl of `std::fmt::Display` for `&BaseListing<cpclib::cpclib_asm::preamble::Token>`
   = note: required by `std::fmt::Display::fmt`

Handle undocumented opcode in assembler

parse of arguments with copy should be ok; but theiur assembling is not implemented (see DDCB/FDCB opcodes)
For Bit/Set parsing has to be modified to integrate the save of this 3rd argument

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.