BRLL 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
 - data/lib/BRLL.rb +40 -0
 - metadata +58 -0
 
    
        checksums.yaml
    ADDED
    
    | 
         @@ -0,0 +1,7 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            ---
         
     | 
| 
      
 2 
     | 
    
         
            +
            SHA256:
         
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 9603b9b6590c588d5d3ff996cf75fe6f4aa4f7deec5c1314cfa6f2bd90bd7a0d
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 0bcc4577d9cb95b3442004b6d4cd6d20d995c547d8bb61ffbd0c2f20d6c132a5
         
     | 
| 
      
 5 
     | 
    
         
            +
            SHA512:
         
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: de266fc8034262441aa16fe6c43113cdba64e5820028184c2272cc20362df1e4fadb9f13638a4e89b41761cf0c1c19a322af3ef1b1865059b166e47ab82fa9d4
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 4f6ebeb3826e8a11d31d58594f4e11a58e2703cda4eaf9d424d4fd19192c206224d81200a8afa4ebdc1e109dab5320d678cba5023c7d98e3d731a8b3ee100636
         
     | 
    
        data/lib/BRLL.rb
    ADDED
    
    | 
         @@ -0,0 +1,40 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # frozen_string_literal: true
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            require_relative "BRLL/version"
         
     | 
| 
      
 4 
     | 
    
         
            +
            class Brll
         
     | 
| 
      
 5 
     | 
    
         
            +
            	def self.ver
         
     | 
| 
      
 6 
     | 
    
         
            +
            	puts "V1.0.0"
         
     | 
| 
      
 7 
     | 
    
         
            +
            	end
         
     | 
| 
      
 8 
     | 
    
         
            +
            end
         
     | 
| 
      
 9 
     | 
    
         
            +
            def output(oput);
         
     | 
| 
      
 10 
     | 
    
         
            +
            	puts oput
         
     | 
| 
      
 11 
     | 
    
         
            +
            end
         
     | 
| 
      
 12 
     | 
    
         
            +
            def listen;
         
     | 
| 
      
 13 
     | 
    
         
            +
            	gets.chomp
         
     | 
| 
      
 14 
     | 
    
         
            +
            end
         
     | 
| 
      
 15 
     | 
    
         
            +
            def serve(page,code)
         
     | 
| 
      
 16 
     | 
    
         
            +
            	puts "BRLL ==> server running at localhost:4567"
         
     | 
| 
      
 17 
     | 
    
         
            +
                get page do
         
     | 
| 
      
 18 
     | 
    
         
            +
                  code
         
     | 
| 
      
 19 
     | 
    
         
            +
                end
         
     | 
| 
      
 20 
     | 
    
         
            +
            end
         
     | 
| 
      
 21 
     | 
    
         
            +
            def iseql(um,dozz,codigo)
         
     | 
| 
      
 22 
     | 
    
         
            +
            	if um == dozz
         
     | 
| 
      
 23 
     | 
    
         
            +
            	codigo
         
     | 
| 
      
 24 
     | 
    
         
            +
            	end
         
     | 
| 
      
 25 
     | 
    
         
            +
            end
         
     | 
| 
      
 26 
     | 
    
         
            +
            def ismot(mtum,mtdozz,mtcod)
         
     | 
| 
      
 27 
     | 
    
         
            +
            	if mtum >> mtdozz
         
     | 
| 
      
 28 
     | 
    
         
            +
            	mtcod
         
     | 
| 
      
 29 
     | 
    
         
            +
            	end
         
     | 
| 
      
 30 
     | 
    
         
            +
            end
         
     | 
| 
      
 31 
     | 
    
         
            +
            def ismit(mium,midozz,micod)
         
     | 
| 
      
 32 
     | 
    
         
            +
            	if mium << midozz
         
     | 
| 
      
 33 
     | 
    
         
            +
            	micod
         
     | 
| 
      
 34 
     | 
    
         
            +
            	end
         
     | 
| 
      
 35 
     | 
    
         
            +
            end
         
     | 
| 
      
 36 
     | 
    
         
            +
            def isneql(neum,nedozz,necod)
         
     | 
| 
      
 37 
     | 
    
         
            +
            	if neum != nedozz
         
     | 
| 
      
 38 
     | 
    
         
            +
            	necod
         
     | 
| 
      
 39 
     | 
    
         
            +
            	end
         
     | 
| 
      
 40 
     | 
    
         
            +
            end
         
     | 
    
        metadata
    ADDED
    
    | 
         @@ -0,0 +1,58 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            --- !ruby/object:Gem::Specification
         
     | 
| 
      
 2 
     | 
    
         
            +
            name: BRLL
         
     | 
| 
      
 3 
     | 
    
         
            +
            version: !ruby/object:Gem::Version
         
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.1.0
         
     | 
| 
      
 5 
     | 
    
         
            +
            platform: ruby
         
     | 
| 
      
 6 
     | 
    
         
            +
            authors:
         
     | 
| 
      
 7 
     | 
    
         
            +
            - nora-software
         
     | 
| 
      
 8 
     | 
    
         
            +
            autorequire:
         
     | 
| 
      
 9 
     | 
    
         
            +
            bindir: bin
         
     | 
| 
      
 10 
     | 
    
         
            +
            cert_chain: []
         
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2023-03-11 00:00:00.000000000 Z
         
     | 
| 
      
 12 
     | 
    
         
            +
            dependencies:
         
     | 
| 
      
 13 
     | 
    
         
            +
            - !ruby/object:Gem::Dependency
         
     | 
| 
      
 14 
     | 
    
         
            +
              name: sinatra
         
     | 
| 
      
 15 
     | 
    
         
            +
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
      
 16 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 17 
     | 
    
         
            +
                - - "~>"
         
     | 
| 
      
 18 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 19 
     | 
    
         
            +
                    version: '1.0'
         
     | 
| 
      
 20 
     | 
    
         
            +
              type: :runtime
         
     | 
| 
      
 21 
     | 
    
         
            +
              prerelease: false
         
     | 
| 
      
 22 
     | 
    
         
            +
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
      
 23 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 24 
     | 
    
         
            +
                - - "~>"
         
     | 
| 
      
 25 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 26 
     | 
    
         
            +
                    version: '1.0'
         
     | 
| 
      
 27 
     | 
    
         
            +
            description: BRLL is literaly an one line programming language made with love in ruby
         
     | 
| 
      
 28 
     | 
    
         
            +
            email:
         
     | 
| 
      
 29 
     | 
    
         
            +
            - iagodp08@gmail.com
         
     | 
| 
      
 30 
     | 
    
         
            +
            executables: []
         
     | 
| 
      
 31 
     | 
    
         
            +
            extensions: []
         
     | 
| 
      
 32 
     | 
    
         
            +
            extra_rdoc_files: []
         
     | 
| 
      
 33 
     | 
    
         
            +
            files:
         
     | 
| 
      
 34 
     | 
    
         
            +
            - lib/BRLL.rb
         
     | 
| 
      
 35 
     | 
    
         
            +
            homepage:
         
     | 
| 
      
 36 
     | 
    
         
            +
            licenses:
         
     | 
| 
      
 37 
     | 
    
         
            +
            - MIT
         
     | 
| 
      
 38 
     | 
    
         
            +
            metadata: {}
         
     | 
| 
      
 39 
     | 
    
         
            +
            post_install_message:
         
     | 
| 
      
 40 
     | 
    
         
            +
            rdoc_options: []
         
     | 
| 
      
 41 
     | 
    
         
            +
            require_paths:
         
     | 
| 
      
 42 
     | 
    
         
            +
            - lib
         
     | 
| 
      
 43 
     | 
    
         
            +
            required_ruby_version: !ruby/object:Gem::Requirement
         
     | 
| 
      
 44 
     | 
    
         
            +
              requirements:
         
     | 
| 
      
 45 
     | 
    
         
            +
              - - ">="
         
     | 
| 
      
 46 
     | 
    
         
            +
                - !ruby/object:Gem::Version
         
     | 
| 
      
 47 
     | 
    
         
            +
                  version: 2.6.0
         
     | 
| 
      
 48 
     | 
    
         
            +
            required_rubygems_version: !ruby/object:Gem::Requirement
         
     | 
| 
      
 49 
     | 
    
         
            +
              requirements:
         
     | 
| 
      
 50 
     | 
    
         
            +
              - - ">="
         
     | 
| 
      
 51 
     | 
    
         
            +
                - !ruby/object:Gem::Version
         
     | 
| 
      
 52 
     | 
    
         
            +
                  version: '0'
         
     | 
| 
      
 53 
     | 
    
         
            +
            requirements: []
         
     | 
| 
      
 54 
     | 
    
         
            +
            rubygems_version: 3.3.26
         
     | 
| 
      
 55 
     | 
    
         
            +
            signing_key:
         
     | 
| 
      
 56 
     | 
    
         
            +
            specification_version: 4
         
     | 
| 
      
 57 
     | 
    
         
            +
            summary: BRLL is an programming language made to easy ur life!
         
     | 
| 
      
 58 
     | 
    
         
            +
            test_files: []
         
     |