Giter Site home page Giter Site logo

Comments (4)

Sreyas-Sreelal avatar Sreyas-Sreelal commented on May 26, 2024 1

Here's a simple example in pure Malayalam keyword.
https://github.com/Sreyas-Sreelal/malluscript/blob/malayalam-characters/examples/pure_malayalam.ms

from malluscript.

de-sh avatar de-sh commented on May 26, 2024

Some errors I faced

>> pwoli_sadhanam രണ്ട്;
thread 'main' panicked at 'byte index 16 is not a char boundary; it is inside 'ര' (bytes 15..18) of `pwoli_sadhanam രണ്ട്;`', src/libcore/str/mod.rs:2069:5

Rust Users Forum#1909 is a discussion I can point to and the one pointer I could figure out is that using encoding might help us solve this problem.

from malluscript.

Sreyas-Sreelal avatar Sreyas-Sreelal commented on May 26, 2024

Yes.I have started the work on malayalam-characters,I'll merge it to master after the work is done :)

from malluscript.

Sreyas-Sreelal avatar Sreyas-Sreelal commented on May 26, 2024

Ok this comes with some limitation.The encoding of source code to ASCII,can lead to encoding of string literals too.This should be avoided.One of possible solution that comes to my mind is to create a literal table,before tokenizing the source unit,and replace the literals with reference to corresponding value in table.

from malluscript.

Related Issues (11)

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.