-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Open
Description
@masoudahg00 - [x] `@masoudahg00``` @Masoudleyli @Masoudahg1 #6279 #6514 #1 #2 #3 #4 #5 #6 #7 #8 #9 #10 #11 #12 #13 #15 #14
@masoudahg00 3d1dfe6b35ee79499805bd2145296f3a925240aa"My portfolio ID": "35VmgKWofZxWowQ7O6CL8K" # !/usr/bin/env ruby
require_relative '../compiler/base'
@masoudahg00
generated = Compiler.new('test.src').run
@masoudahg00Hardcode runtime JS function to validate executable
RUNTIME = 'function add(x, y) { return x + y };'.freeze
TEST = 'console.log(f(1,2))'.freeze
puts [RUNTIME, generated, TEST].join("\n")
@masoudahg00
@masoudahg00
@masoudahg00
_Originally posted by @masoudahg00 in @masoudahg00 masoudahg00/anything_to_js_compiler#1 (comment)
Originally posted by @masoudahg00 in #3081
masoudahg00masoudahg00masoudahg00masoudahg00masoudahg00masoudahg00masoudahg00
Metadata
Metadata
Assignees
Labels
No labels